kapilbharati.com

my notes, thoughts, learnings etc.

mysql backup on S3

February 16, 2009 | Comments | Permalink

I setup this script: automysqlbackup to backup my mysql databases on a daily basis. The script has pretty good instructions, just key in the details, add it to your cron and you are all set. I sync up the backups with my S3 buckets using s3sync, go through the readme for details. In short you need to follow these steps:

You will need to manually remove the old backups from your S3 account. An alternative is to update the bucket directly using s3cmd instead of storing your backups on EBS / EC2 instance

Tags: Tech, Amazon, AWS, backups, MySQL, S3, s3sync, 

blog comments powered by Disqus