diff options
Diffstat (limited to 'server/lib')
-rwxr-xr-x | server/lib/checkrest | 2 | ||||
-rwxr-xr-x | server/lib/supportsave | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/checkrest b/server/lib/checkrest index 3db161f5..3fcd8bd1 100755 --- a/server/lib/checkrest +++ b/server/lib/checkrest @@ -12,7 +12,7 @@ PROG=$(basename "$0") OPENGNSYS=/opt/opengnsys -CONFIGFILE=$OPENGNSYS/etc/ogAdmServer.cfg +CONFIGFILE=$OPENGNSYS/etc/ogserver.cfg RESTURL="https://localhost/opengnsys/rest" source $OPENGNSYS/lib/ogfunctions.sh || exit 1 diff --git a/server/lib/supportsave b/server/lib/supportsave index e5a9fd20..8d5c2dd9 100755 --- a/server/lib/supportsave +++ b/server/lib/supportsave @@ -180,9 +180,9 @@ fi echo "- Directory list" ls -Ral ${home_dir} >> $backup_dir/opengnsys_files.txt 2>&1 -if [ -r ${home_dir}/etc/ogAdmServer.cfg ]; then +if [ -r ${home_dir}/etc/ogserver.cfg ]; then echo "- Database schema" - source ${home_dir}/etc/ogAdmServer.cfg + source ${home_dir}/etc/ogserver.cfg mysqldump -u "$USUARIO" -p"$PASSWORD" -d "$CATALOG" >> ${backup_dir}/opengnsys_schema.sql 2>&1 else echo "- WARNING: The OpenGnsys database can not be accessed" | tee ${backup_dir}/db_schema.txt |