Puppet module to manage backupninja
Puppet 3.x
backupninja::entries :
database :
type : mysql
when : 'everyday at 18'
options :
hotcopy : false
nodata_any : [cache, sessions, watchdog]
files :
type : duplicity
when : 'everyday at 18'
options :
nicelevel : 20
password : 'mypass'
include : [
'/var/www',
'/var/lib/gitolite'
]
desturl : 'file:///backups/dl471'
script :
type : sh
when : 'everyday at 18'
options :
commands : [
'echo a'
, 'echo b'
]
mysql_updated
is a patched version of mysql handler to allownodata_any
.