mercredi 28 janvier 2015

How to set up scheduled backups in amazon s3?

I have S3 bucket "foo.backups", s3cmd is installed on my DigitalOcean droplet. I need to backup mydb.sqlite3 database and "myfolder".


How to make scheduled daily backups of these databse and folder with such structure:



s3://foo.backups/
-30jan15/
--mydb.sqlite3
--myfolder/
---...
-31jan15/
--mydb.sqlite3
--myfolder/
---...
-1feb15/
--mydb.sqlite3
--myfolder/
---...


How can I set it up?


Thanks!





Aucun commentaire:

Enregistrer un commentaire