From 647eb3ec4c9d35fd7439a45b6ea48fa04d77f484 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 18 Jan 2010 11:00:08 -0500 Subject: New branch. Goal: optional rollback when rsync fails --- squashfu.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'squashfu.conf') diff --git a/squashfu.conf b/squashfu.conf index fd53091..946b63b 100644 --- a/squashfu.conf +++ b/squashfu.conf @@ -40,6 +40,12 @@ MIN_BINS=5 # Depending on how big your total backup size is, this may not be wise. MAX_BINS=10 +# If rsync returns anything but a 0, the backup is considered to be +# aborted before completion (or never started). Set this to be 'true' +# if you want the newly created bin to be removed when an rsync failure +# is detected. +DEL_BIN_ON_FAIL=false + # These are the options that are passed directly to rsync. # The -u flag is a necessity, or else incrementals will # not be true incrementals. See 'man rsync' for more info. -- cgit v1.2.3