diff options
Diffstat (limited to 'borger')
-rwxr-xr-x | borger | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,7 @@ # https://borgbackup.readthedocs.io/en/stable/usage/help.html#borg-help-placeholders # Parameters +FULLNAME="$0" BASENAME="`basename $0`" DESTINATION="$1" OPTION="$2" @@ -173,7 +174,8 @@ elif [ "$OPTION" == "--check" ]; then borger_check elif [ "$OPTION" == "--continuous" ]; then while true; do - borger_run + # Run as a subprocess so we do not exit on any fatal error + $FULLNAME $DESTINATION info "Running on continous mode... sleeping $INTERVAL..." sleep $INTERVAL done |