Question

Send across folder to S3 / Glacier daily

How do I send a single folder (it’s the daily backup via cron containing some .sql files) across to Amazon S3 or Glacier ? s3cmd ?

I came across this posted 5 years back : https://www.digitalocean.com/community/questions/off-site-remote-back-up-to-amazon-s3 s3cmd sync /home/user/public_html s3://my-aws-bucket

Is this is still good for use ? s3cmd sync /home/user/dbbkup/ s3://my-aws-bucket


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello friend!

That should work fine. If you want a bit more detail, I found this article that looks to be really good:

https://cloudacademy.com/blog/data-backup-s3cmd/

Kind Regards, Jarland