Skip to content
Snippets Groups Projects
Commit 921e3eec authored by juanf's avatar juanf
Browse files

SSDM-4444 : Removing ELN plugin specific code from backup/restore during...

SSDM-4444 : Removing ELN plugin specific code from backup/restore during upgrades, no longer necessary.

SVN: 37446
parent ae74554c
No related branches found
No related tags found
No related merge requests found
......@@ -56,11 +56,4 @@ if [ -d $BACKUP_DIR/datastore_server/data/sessionWorkspace ]; then
rm -r $BACKUP_DIR/datastore_server/data/sessionWorkspace
fi
if [ -d $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then
echo "mkdir -p $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html"
mkdir -p $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html
echo "$ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html"
mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims/1/as/webapps/eln-lims/html
fi
echo "DONE"
......@@ -57,11 +57,4 @@ cp $CONF/dss-log.xml $ROOT/datastore_server/etc/log.xml
cp $CONF/datastore_server.conf $ROOT/datastore_server/etc/
# not always present
copyIfExists $CONF/.keystore $ROOT/datastore_server/etc/openBIS.keystore
copyIfExists $CONF/ext-lib $ROOT/datastore_server
# -- ELN-LIMS
if [ -d $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then
if [ -d $CONF/../eln-lims/1/as/webapps/eln-lims/html/etc ]; then
cp $CONF/../eln-lims/1/as/webapps/eln-lims/html/etc/* $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc/
fi
fi
\ No newline at end of file
copyIfExists $CONF/ext-lib $ROOT/datastore_server
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment