git-svn-id: http://code.autistici.org/svn/backupninja/trunk@510
758a04ac-41e6-0310-8a23-
8373a73cc35d
. Add configuration option to allow you to disable the version check
as in some instances this may be an ok scenario (Closes: #424632)
. Added local destination support to helper (Closes: Trac#4)
+ . Allow exclude-only configurations (Closes: Trac#21)
rub/rsync
. Fixed typo in rub handler that caused it to not work
. Changed to use lib/vserver code
fi
# source specific checks
-[ "$include" != "" -o "$vsinclude" != "" ] || fatal "No source includes specified"
case $sourcetype in
remote ) execstr_sourcepart="$sourceuser@$sourcehost::/" ;;
local ) execstr_sourcepart="/" ;;
set +o noglob
# exclude everything else
-execstr="${execstr}--exclude '/*' "
+[ "$include" != "" -o "$vsinclude" != "" ] && execstr="${execstr}--exclude '/*' "
# include client-part and server-part
execstr="${execstr}$execstr_sourcepart $execstr_destpart"