MediaTemple (dv) Backup to S3 Script
Friday, December 18th, 2009
The Problem
MediaTemple servers run the Plesk Control Panel, which has a reputation for having useless backups.
The Solution
- MySQL Dumps of all Databases and Tables
- All configured vhosts, zipped up
- Pushes it all to either S3 or FTP
Stick it in /etc/cron.daily/, and you’ll be good to go. No more worries. No more headaches. Ever.
Note: Standard FTP is also supported.
[...] post: MediaTemple (dv) Backup to S3 Script // Kenneth Reitz By admin | category: media temple | tags: backup, having-useless, panel, plesk, [...]
Thank you!! This is awesome! Might be worth mentioning that php is in safe mode by default so people will have to turn that off to run this script so the backquoted commands can be executed.
Thanks :) FTP is currently a bit broken… S3 words great though.
I'm planning on porting this to python in the near future.
If you're on GitHub, feel free to fork the code and conrtibute!
http://gist.github.com/356120
Absolutely brilliant! Incredibly easy to use. Thanks so much.