NoobDev4iPhone NoobDev4iPhone - 1 year ago 110
MySQL Question

How can I backup a MySQL database on AWS?

I've been playing with AWS EC2 and really like it. There is one drawback though, the instance could disappear due to hardware failure or whatever reason. This happened to me in my first week of operation. I was wondering whether there are good solutions to backup a MySQL database so that I don't lose my customer credentials?

Answer Source

You can transfer mysql database directly from EC2 machine to S3bucket but you will consume more cost for bandwidth and storage. You go for a third party application (which is safe) to backup your mysql or any plugins. Because they compress your data & encrypt and then save in S3 storage. Also, you can enable snap shot and take snap shots for volumes (hard drives)

I suggest you to use 'StoreGrid' backup software to backup your mysql database in EC2 machine. check this following link to know more about Online Backup Service on Amazon EC2/S3

Check this following link to configure MySQL database BACKUP

Note: You have mentioned Hardware failure occurs often ! --- you can backup entire hard drives too using the above software.

I hope, now your MySQL data base is backed up from EC2 instance and stored in S3 storage safely.

Cheers !

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download