summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/backup.pp
blob: ef5056936f74bddc4c63e736282c809fe6452cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class site_couchdb::backup {

  # general backupninja config
  backupninja::config { 'backupninja_config':
    usecolors     => false,
  }

  # dump all DBs locally to /var/backups/couchdb once a day
  backupninja::sh { 'couchdb_backup':
    command_string => "cd /srv/leap/couchdb/scripts \n./couchdb_dumpall.sh"
  }
}