Fix bug with remote backup script
This commit is contained in:
parent
a7c183c601
commit
9b6e27bbd3
|
|
@ -52,7 +52,7 @@ fi
|
||||||
|
|
||||||
# Run remote disk backup if set
|
# Run remote disk backup if set
|
||||||
remote_exit=0
|
remote_exit=0
|
||||||
if [[ -n $EXTERNAL_DISK_BACKUP_ENV_FILE ]]; then
|
if [[ -n $REMOTE_BACKUP_ENV_FILE ]]; then
|
||||||
${script_dir}/backup_remote.sh &>> $logfile
|
${script_dir}/backup_remote.sh &>> $logfile
|
||||||
remote_exit=$?
|
remote_exit=$?
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ if [[ -z "$REMOTE_BACKUP_ENV_FILE" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -o allexport
|
set -o allexport
|
||||||
source $EXTERNAL_DISK_BACKUP_ENV_FILE
|
source $REMOTE_BACKUP_ENV_FILE
|
||||||
set +o allexport
|
set +o allexport
|
||||||
|
|
||||||
log "Remote Backup Started"
|
log "Remote Backup Started"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue