Add backups to translate server

This was not done when we spun the server up the first time around. We
noticed as part of the work for doing an upgrade. Go ahead and get this
in place before any upgrading so that we have backups handy if
necessary.

Change-Id: I307f555fb607b2d592177f11923929e007858ab8
This commit is contained in:
Clark Boylan 2017-02-27 11:41:33 -05:00
parent 47d5314b47
commit d0f11cc0af

View File

@ -125,4 +125,18 @@ class openstack_project::translate(
],
require => Exec['register-zanata-projects'],
}
mysql_backup::backup_remote { 'translate':
database_host => $mysql_host,
database_user => $mysql_user,
database_password => $mysql_password,
num_backups => '10',
require => Class['zanata'],
}
include bup
bup::site { 'rs-ord':
backup_user => 'bup-translate',
backup_server => 'ci-backup-rs-ord.openstack.org',
}
}