Skip to content
Snippets Groups Projects
Commit 305bbf77 authored by juanf's avatar juanf
Browse files

SSDM-3512 : Better ELN backup

SVN: 36255
parent cd151ba1
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,9 @@ if [ -d $ROOT_DIR/beewm ]; then
mv $ROOT_DIR/beewm/bee-workflowmanager/etc $BACKUP_DIR/beewm
fi
if [ -d $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then
echo "mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims"
mv $ROOT_DIR/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc $BACKUP_DIR/eln-lims
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
fi
echo "DONE"
......@@ -66,7 +66,7 @@ fi
# -- ELN-LIMS
if [ -d $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then
if [ -d $CONF/../eln-lims ]; then
cp $CONF/../eln-lims/* $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc/
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
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