Add database backups for openstackid.org

The openstackid.org server uses two databases (one for its own data
and one for the Silverstripe backend to the www site). Keep the
usual 30 days of rotated ID database dumps, but because the SS
content is of significant size just keep a couple.

Change-Id: Id12a02adc57c518eac3facf996f615465a5878ba
This commit is contained in:
Jeremy Stanley 2015-06-30 13:36:26 +00:00
parent 448d7ab400
commit a00f32d23a

View File

@ -82,4 +82,16 @@ class openstack_project::openstackid_prod (
redis_password => $redis_password,
}
mysql_backup::backup_remote { $id_db_name:
database_host => $id_mysql_host,
database_user => $id_mysql_user,
database_password => $id_mysql_password,
}
mysql_backup::backup_remote { $ss_db_name:
database_host => $ss_mysql_host,
database_user => $ss_mysql_user,
database_password => $ss_mysql_password,
num_backups => 2, # big and presumably also backed up by www.o.o
}
}