ysde/grafana-backup-tool

Getting this error when restoring from S3.

rmccarthy-ellevation opened this issue · 5 comments

Getting this error when restoring from S3.
ysde commented

Hi @rmccarthy-ellevation

Can you provide some descriptions?

Thank you

I'm pretty sure this is a duplicate of #92

I am also having this issue still; I replied to #92 which was closed but not sure about the closure: #92

@tommyjcarpenter if this is the error you are getting then it means that the value of s3_bucket_key in your ~/.grafana-backup.json doesn't exist within the actual s3 bucket you are trying to restore from. They call it a "key" but it's just a folder inside of the s3 bucket that you backup/restore to/from.

botocore.errorfactory.NoSuchKey: An error occurred (NoSuchKey) when calling the GetObject operation: The specified key does not exist.

@acjohnson it does exist though, since backups work - but not restores. The backed up tar files are going to the right place. Why would it be asymmetric? Does the JSON need a trailing slash for downloads but not uploads?