From bd0b2eaea8db2aecd8ba6f061901d4a41a0881a2 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sat, 20 Aug 2005 18:17:25 +0000 Subject: dup handler: added option to perform a full backup instead of an incremental one. --- handlers/dup | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'handlers/dup') 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="/" -- cgit v1.2.3