Report this

What is the reason for this report?

Send across folder to S3 / Glacier daily

Posted on August 21, 2018
Dave Lavinsky

By Dave Lavinsky

President

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.