diff --git a/contrib/backup/zammad_backup.sh b/contrib/backup/zammad_backup.sh index 6ef7a57be..0e33ca328 100755 --- a/contrib/backup/zammad_backup.sh +++ b/contrib/backup/zammad_backup.sh @@ -7,6 +7,9 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin: BACKUP_SCRIPT_PATH="$(dirname $(realpath $0))" if [ -f "${BACKUP_SCRIPT_PATH}/config" ]; then + # Ensure we're inside of our Backup-Script folder (see issue 2508) + cd "${BACKUP_SCRIPT_PATH}" + # import config . ${BACKUP_SCRIPT_PATH}/config else