aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/dup')
-rw-r--r--handlers/dup5
1 files changed, 5 insertions, 0 deletions
diff --git a/handlers/dup b/handlers/dup
index 176ac3e..8d38cfc 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -19,6 +19,7 @@ getconf vsinclude
getconf exclude
setsection dest
+getconf incremental yes
getconf keep 60
getconf sshoptions
getconf bandwidthlimit 0
@@ -92,6 +93,10 @@ if [ "$keep" != "yes" ]; then
execstr="${execstr}--remove-older-than $keep "
fi
+if [ "$incremental" == "no" ]; then
+ execstr="${execstr}--full "
+fi
+
execstr_serverpart="scp://$destuser@$desthost/$destdir"
execstr_clientpart="/"