Fix bug with remote backup script

This commit is contained in:
Robin Meier 2024-05-14 22:30:12 +02:00
parent a7c183c601
commit 9b6e27bbd3
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ fi
# Run remote disk backup if set
remote_exit=0
if [[ -n $EXTERNAL_DISK_BACKUP_ENV_FILE ]]; then
if [[ -n $REMOTE_BACKUP_ENV_FILE ]]; then
${script_dir}/backup_remote.sh &>> $logfile
remote_exit=$?
fi

View File

@ -25,7 +25,7 @@ if [[ -z "$REMOTE_BACKUP_ENV_FILE" ]]; then
fi
set -o allexport
source $EXTERNAL_DISK_BACKUP_ENV_FILE
source $REMOTE_BACKUP_ENV_FILE
set +o allexport
log "Remote Backup Started"