More backups! because never it’s enough xD
Based on FTP Backup for MySQL and Files.
With this short bash script you can backup files from your Amazon AWS S3 everyday into a remote FTP and deletes old backups from the FTP.
Perfect if you have an OVH server and you get free FTP space for your backups.
You need to install AWS CLI read more here.
Can take quite a lot of time since needs to go file by file…there’s not any other faster way yet to download a bucket yet :(.
Save as file aws-backup.sh:
Related links nice to read
- http://stackoverflow.com/questions/8659382/downloading-an-entire-s3-bucket
- http://stackoverflow.com/questions/11817179/how-to-backup-or-sync-amazon-s3-bucket
- http://serverfault.com/questions/9171/how-do-i-back-up-an-aws-s3-bucket-without-versioning-the-source-bucket
- http://serverfault.com/questions/358432/any-need-to-make-backup-of-data-on-amazon-s3