Mysql – Amazon S3 Website & MySQL Backup

amazon s3backupMySQLPHPscripting

I have a website (a digital asset management system/gallery – http://www.resourcespace.org) that has a huge amount of images. The total size of the website, including the images is approximately 6gb.

The website is in PHP and uses a MySQL database.

What is the best way to automatically backup the website & MySQL database and push to Amazon S3 each night?

Are there any readily available scripts out there that can do this?

Best Answer

I have not yet dealt with size of data that you are referring to. However, I did find this handy script and tweaked it to push my backup files to Amazon S3.

https://github.com/woxxy/MySQL-backup-to-Amazon-S3

If you have not already seen the recent announcement for Amazon Glacier, you should take a look. It may be more along the lines of what you need for pure backups.

http://aws.amazon.com/glacier/

Related Topic