Updates the crontab for DB Backups using EBS-style calls.
This script will perform continuous binary backups of Master or Slave Database Servers. The backup will be in the form of an EBS snapshot with the name of the DB contents as specified by EBS_DB_NAME input. Master DB instances will be detected based on the MASTERDB_DNSNAME matching the instance primary IP.
For Master DB, the backup will be done every 4 hours (by default). For the Slave DB, the backup will be done every hour (by default). The last 60 snapshots are kept by default. This can be changed by setting the DB_BACKUP_KEEP_LAST input variable before launching a new server - all servers should use the same value so it is advised keep the default or to set this variable at the deployment level. This Rightscript requires the installation of rightscale dbtools and the identity key.
All tools are installed and the crontab is updated to perform the backups as described.
No actions are taken. The current crontab is not altered. If backups are turned on or off with a local edit or the operational script they are left untouched on Reboot.
Revision 10 | Dec 23, 2009
GA Release Candidate.
Revision 9 | Aug 11, 2009
Sprint 12 release - 08/10/09
Available to Paid
Sign-up for RightScale