MultiCloud Marketplace


DB EBS continuous backups v2

Open in Dashboard

Published by RightScale on Aug 16, 2010Revision: 14


Updates the crontab for DB Backups using EBS-style calls.


This RightScript 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 to keep the default or to set this variable at the Deployment level. This RightScript requires the installation of RightScale dbtools and the identity key.

First Launch

All backup scripts 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 14 | Aug 16, 2010

Removed unused EBS_STRIPE_COUNT input variable.

Revision 13 | Jul 21, 2010

Interim testing version

Revision 12 | Jun 15, 2010

Removed "endscript" #3478

Revision 10 | Jun 02, 2010

GA Release

Revision 7 | Mar 19, 2010

refs 3390, removed unnecessary postrotate hook


Available to Paid
RightScale Accounts

Sign-up for RightScale

Support Information