„gaboshlib/g_backup.bashfunc“ ändern

This commit is contained in:
olli 2022-12-06 10:41:30 +01:00
parent 7309a72e9c
commit c1dca5351e

View File

@ -96,7 +96,7 @@ $(cat $g_tmp/bcmd)"
# done if no direstructure
[ -n "$NODIRSTRUCT" ] && continue
g_runcmd $sshopts test -e $BACKUPSRVPATH_WITH_DATE && $sshopts mv $BACKUPSRVPATH_WITH_DATE $BACKUPSRVPATH_WITH_DATE-$$-old
g_runcmd $sshopts test -e $BACKUPSRVPATH_WITH_DATE \&\& $sshopts mv $BACKUPSRVPATH_WITH_DATE $BACKUPSRVPATH_WITH_DATE-$$-old
g_runcmd $sshopts mv $BACKUPSRVPATH_WITH_DATE_INCOMPLETE $BACKUPSRVPATH_WITH_DATE || exit $?
# Cleanup old backups