X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Frdiff;h=40ad52dd585dbbcc836872db4a11c2275fc3e3f5;hb=428e9532bf53fb73d2075865d2ced1c3c760812b;hp=7120e7a47200115eaf8358c40988eeb495368f33;hpb=1f290a8a23f09a6f3563b03a98b5b3ce70d664d8;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/rdiff b/handlers/rdiff index 7120e7a..40ad52d 100644 --- a/handlers/rdiff +++ b/handlers/rdiff @@ -65,7 +65,6 @@ fi ### SOURCE ### -[ "$label" != "" ] || fatal "Source missing label" [ "$sourcetype" == "local" ] || fatal "Only local source type supported" [ "$include" != "" -o "$vsinclude" != "" ] || fatal "No source includes specified" #TODO should I test for vsinclude if usevservers=1? @@ -118,7 +117,7 @@ done # vsinclude if [ $usevserver ] then - for vserver in `ls $VROOTDIR|grep -v lost+found` + for vserver in `ls $VROOTDIR | grep -E -v "lost+found|ARCHIVES"` do for vi in $vsinclude do @@ -140,10 +139,10 @@ if [ ! $test ]; then code=$? if [ "$code" == "0" ]; then debug $output - info "Successfully finished backing up source '$label'" + info "Successfully finished backing up source $label" else warning $output - warning "Failed backup up source '$label'" + warning "Failed backup up source $label" fi fi