diff --git a/modules/openstack_project/manifests/ethercalc.pp b/modules/openstack_project/manifests/ethercalc.pp index b9dedc5a5d..764f50d336 100644 --- a/modules/openstack_project/manifests/ethercalc.pp +++ b/modules/openstack_project/manifests/ethercalc.pp @@ -19,6 +19,16 @@ class openstack_project::ethercalc ( ssl_chain_file_contents => $ssl_chain_file_contents, } - # TODO(clarkb) Redis backups include ethercalc::redis + + # Redis creates a snapshot at /var/lib/redis/dump.rdb periodically + # (at worst every 15 minutes if at least one change is made to redis) + # which can be used to recover the Redis DB. Bup will automagically + # pick this file up during its normal operation so no other DB dumping + # is required like with mysql. + include bup + bup::site { 'rs-ord': + backup_user => 'bup-etherpad', + backup_server => 'ci-backup-rs-ord.openstack.org', + } }