Skip to content
Snippets Groups Projects
Commit 60f99056 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

set ARCHIVE_DIR

parent a61ab713
No related branches found
No related tags found
1 merge request!129Db Profiles
...@@ -413,6 +413,7 @@ ...@@ -413,6 +413,7 @@
BACKUP_PARAMS=$( dbdetect.getParams ) BACKUP_PARAMS=$( dbdetect.getParams )
BACKUP_TARGETDIR=${BACKUP_BASEDIR}/${PROFILENAME} BACKUP_TARGETDIR=${BACKUP_BASEDIR}/${PROFILENAME}
ARCHIVE_DIR=$(_j_getvar "${JOBFILE}" dir-dbarchive)/${PROFILENAME}
BACKUP_SCRIPT=$( get_service_script ${SERVICENAME} ) BACKUP_SCRIPT=$( get_service_script ${SERVICENAME} )
# ----- start service specific script # ----- start service specific script
...@@ -527,6 +528,10 @@ ...@@ -527,6 +528,10 @@
# ------ unset env # ------ unset env
eval $( dbdetect.unssetenv ) eval $( dbdetect.unssetenv )
else
color error
echo "ERROR: Profile $PROFILENAME was detected but its database service is not available."
color.reset
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment