Wednesday, February 9, 2011

Cloud Backup LAMP Stack like a pro

Running Ubuntu server in the cloud to run your own LAMP environment is extremely popular. Backing up that environment is definitely something that almost everyone should think about, unless it's a test env. In this screencast I'll demo using the ec2-consistent-snapshot tool to perform consistent database backups over a XFS formatted ebs volume

If you can't see the embedded player, here's a direct link
http://www.youtube.com/watch?v=SPVqJWWiLVI



Shoot me a comment if there's something specific you'd like to see, or if you'd like to contribute one such screencast! Till next time

3 comments:

Jorge said...

Very interesting. Just a couple of questions:

1) How can the snapshot be so fast?
2) Is the mv-mysql-xfs-ebs.sh script available for download?

Best Regards :)

Jorge said...

Very interesting. Just a couple of questions:

1) How can the snapshot be so fast?
2) Is the mv-mysql-xfs-ebs.sh script available for download?

Best Regards :)

Kamal said...

Hey Jorge,
The snapshot is fast since it just calls an AWS api to start snapshotting. It's copy-on-write so it doesn't have to wait, and AWS does the heavy lifting

regarding that script, you can find it (split into pieces) in Eric's original article at http://aws.amazon.com/articles/1663