projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Color comments were wrong - error is red, fatal is purple. Comments
[matthijs/upstream/backupninja.git]
/
handlers
/
dup
diff --git
a/handlers/dup
b/handlers/dup
index 176ac3eae8e5c3066371d07fd4a2086d42b5e9e2..8d38cfc5996f212a5b1840de7e939ac3c31966a3 100644
(file)
--- a/
handlers/dup
+++ b/
handlers/dup
@@
-19,6
+19,7
@@
getconf vsinclude
getconf exclude
setsection dest
getconf exclude
setsection dest
+getconf incremental yes
getconf keep 60
getconf sshoptions
getconf bandwidthlimit 0
getconf keep 60
getconf sshoptions
getconf bandwidthlimit 0
@@
-92,6
+93,10
@@
if [ "$keep" != "yes" ]; then
execstr="${execstr}--remove-older-than $keep "
fi
execstr="${execstr}--remove-older-than $keep "
fi
+if [ "$incremental" == "no" ]; then
+ execstr="${execstr}--full "
+fi
+
execstr_serverpart="scp://$destuser@$desthost/$destdir"
execstr_clientpart="/"
execstr_serverpart="scp://$destuser@$desthost/$destdir"
execstr_clientpart="/"