„gaboshlib/g_backup.bashfunc“ ändern
This commit is contained in:
parent
7309a72e9c
commit
c1dca5351e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user