Sha256: 5857a5472b4d11ac5d88858848908011ef8c957f042f2345c01e53d95d7e35dc

Contents?: true

Size: 716 Bytes

Versions: 7

Compression:

Stored size: 716 Bytes

Contents

#
# different backup strategies depending on whether the db instance is using Amazon's EBS
#

# without EBS: 
#   Incremental backup every 5 minutes
*/5 * * * *  root  test ! -f /etc/mysql/conf.d/mysql-ec2-ebs.cnf && /usr/local/ec2onrails/bin/backup_app_db --incremental

# without EBS:
#   Full backup every day at 05:01, reset the binary logs.
#   First kill any incremental backup that happens to be in progress
1 5 * * *  root  killall -q -u root backup_app_db ; test ! -f /etc/mysql/conf.d/mysql-ec2-ebs.cnf && /usr/local/ec2onrails/bin/backup_app_db --reset

# with EBS:
#   Full snapshot every 2 hours
11 */2 * * *  root  test -f /etc/mysql/conf.d/mysql-ec2-ebs.cnf && /usr/local/ec2onrails/bin/backup_app_db

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
ewoutvonk-ec2onrails-0.9.10.4.001 server/files/etc/cron.d/ec2onrails
gigpark-ec2onrails-0.9.10.3 server/files/etc/cron.d/ec2onrails
pauldowman-ec2onrails-0.9.10.0 server/files/etc/cron.d/ec2onrails
pauldowman-ec2onrails-0.9.10.1 server/files/etc/cron.d/ec2onrails
pauldowman-ec2onrails-0.9.10.2 server/files/etc/cron.d/ec2onrails
pauldowman-ec2onrails-0.9.10.3 server/files/etc/cron.d/ec2onrails
pauldowman-ec2onrails-0.9.10.4 server/files/etc/cron.d/ec2onrails