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

Subscribe
Share

Submit an 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