Hello, I’m new to foundationdb as well as S3 and wanted to perform the backup to aws S3. I am using the command : fdbbackup start -w -t “tag1” -d blobstore://<api_key>[:]@s3.ap-south-1.amazonaws.com:80/<backup_file_name>?bucket=<bucket_name>&sc=0
while trying this I get an HTTP 400 bad request, unsure where I’m missing out.
output after --knob_http_verbose_level = 3,
FoundationdB cannot be used with S3 (for buckets created after June 2020) till it supports AWS Signature Version 4. The older one (v2) was deprecated on June 2020.
I don’t believe there is (if one still wants to use s3 and one doesn’t have an older bucket). I think the only solution if one wants to use a new (i.e., created after June 2020) s3 bucket, would be for that issue, #2907, to be completed.
Hi Folks, the issue regarding backup got resolved when I switched my bucket region from ap-south-1 to us-east-1. I am unsure as to why this change got the backups to work, Can anyone shed light on the differences between the regions? Also, how does foundationdb backup interprets the blobstore URL and where does the signature version play an authentication role?
Edit: tried with a bunch of other regions and got the same backup_error ( HTTP response code failed )
Hi, I hit this a few months ago. It works on us-east-1 because V2 is still enabled on regions created before Jan 30 2014. (I think general rule of thumb is it works in US regions only)
I run FDB in a wrapper service, in non-US deployments I configured it to take the backup locally, then the wrapper service zips the backup files and uploads it to S3.