Skip to content
Snippets Groups Projects
Commit 416327c0 authored by anttil's avatar anttil
Browse files

SSDM-3717: openBIS workspace and plugin binaries taking space on the backups made by upgrades

SVN: 36696
parent 1990a968
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,14 @@ fi
echo "mv $ROOT_DIR/datastore_server $BACKUP_DIR/datastore_server"
mv $ROOT_DIR/datastore_server $BACKUP_DIR/datastore_server
if [ -d $ROOT_DIR/core-plugins/eln-lims ]; then
echo "mv $ROOT_DIR/core-plugins/eln-lims $BACKUP_DIR/eln-lims"
mv $ROOT_DIR/core-plugins/eln-lims $BACKUP_DIR/eln-lims
if [ -d $BACKUP_DIR/datastore_server/data/sessionWorkspace ]; then
echo "rm -r $BACKUP_DIR/datastore_server/data/sessionWorkspace"
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
mkdir -p $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"
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