DB continuous backups v4 by RightScale
Updates the crontab for DB Backups.
This script will perform continuous binary backups of Master or Slave Database Servers. Master DB instances will be detected based on the MASTERDB_DNSNAME matching the instance primary IP.
For Master DB, the backup will be done nightly and unco
DB master restore v4 by RightScale
Restore Database from Backups.
- Restores the latest backup from S3
- Configures the DB to be a master
- Makes the master DB DNS entry point to itself
- Skipped on REBOOT
WARNING: This script is not compatible with RightScale DB tools earlier than 0.18.0!
DB privileges re-set v1 by RightScale
Sets up (or re-sets) passwords and privileges for monitoring and manipulating the DB remotely (within EC2). Usually executed after loading a DB. WARNING: it will enable all privileges for this user/password
DB promote to master v2 by RightScale
Launch on a slave instance to convert it to the new master. The slave instance must already be connected to the current master...otherwise we'll just assume that the current master is dead and will change this (slave) DB to accept writes and log binary changes (i.e., become a master). The master DNS
DB register master by RightScale
Updates the DNS record (@DNSmadeeasy) for the Master DB with the IP address of this host.
RB rails attachment code install & db config v1 by RightScale
It checks out the rails sources from an svn repository, a la capistrano. It will redo the directory links, it will configure the database.yml and will finally switch the "current" dir to point to the new release dir. Username can be left unset for anonymous checkout. Can be used as an operational sc
DB EBS slave init from non-EBS master v1 by RightScale
Converts a running EBS DB instance to be slave of an existing (and currently running) Master DB that uses the non-EBS MySQL templates.
The purpose of this script is to facilitate the live migration from a non-EBS based MySQL templates, to EBS based ones. By booting an EBS template (with INITAT