Question

Send across folder to S3 / Glacier daily

Posted August 21, 2018 1.1k views
Backups Ubuntu 16.04

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

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.

1 answer

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

Submit an Answer