I am trying for Automate backups with digital ocean space referring the following link
https://www.digitalocean.com/community/tutorials/how-to-automate-backups-digitalocean-spaces
But when I am trying to upload the backupthis directory and its contents to Space it shows,
upload: ‘testrun-180511-15_59_43.tar.gz’ -> ‘s3://vamotest/testrun-180511-15_59_43.tar.gz’ [1 of 1] 166 of 166 100% in 0s 5.15 kB/s done ERROR: S3 error: 404 (NoSuchBucket)
How can I resolve the error ??
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Check your s3cmd config file. I had the same issue but the config was wrong. The host_bucket var remained untouched. Therefore there was an issue. After fixing that, it works.
ORIGINAL host_base = ams3.digitaloceanspaces.com host_bucket = %(bucket)s.nyc3.digitaloceanspaces.com
CORRECTED host_base = ams3.digitaloceanspaces.com host_bucket = %(bucket)s.ams3.digitaloceanspaces.com
Did you create the bucket/directory you are using when running the backup script in Spaces before attempting a backup?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.