Add support for increments,keepincroffulls,desturl
Include proper backupninja::client:: class (as does rsync)
$vsinclude = false,
# [dest]
$incremental = "yes",
+ $increments = false,
$keep = false,
+ $keepincroffulls = false,
$bandwidthlimit = false,
$sshoptions = false,
$destdir = false,
$desthost = false,
$destuser = false,
+ $desturl = false,
# configs to backupninja client
$backupkeystore = false,
$backupkeystorefspath = '',
$installkey = true ) {
# the client with configs for this machine
- include backupninja::client::defaults
+ include backupninja::client::duplicity
case $desthost { false: { err("need to define a destination host for remote backups!") } }
case $destdir { false: { err("need to define a destination directory for remote backups!") } }
[dest]
<%= 'incremental = ' + incremental if incremental %>
+<%= 'increments = ' + increments if increments %>
<%= 'keep = ' + keep if keep %>
+<%= 'keepincroffulls = ' + keepincroffulls if keepincroffulls %>
<%= 'bandwidthlimit = ' + bandwidthlimit if bandwidthlimit %>
<%= 'sshoptions = ' + sshoptions if sshoptions %>
<%= 'destdir = ' + destdir if destdir %>
<%= 'desthost = ' + desthost if desthost %>
<%= 'destuser = ' + destuser if destuser %>
+<%= 'desturl = ' + desturl if desturl %>