From 08ea0a6fb40e93b9a4e56fa25e1ca1ff42aef061 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 18 Apr 2016 15:07:58 +0000 Subject: [PATCH] SSDM-3512 : Backup/restore SVN: 36207 --- installation/resource/installer/bin/backup-installation.sh | 5 +++++ .../resource/installer/bin/restore-config-from-backup.sh | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/installation/resource/installer/bin/backup-installation.sh b/installation/resource/installer/bin/backup-installation.sh index 49d644c0d90..e3c103293e7 100755 --- a/installation/resource/installer/bin/backup-installation.sh +++ b/installation/resource/installer/bin/backup-installation.sh @@ -56,4 +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 +fi + echo "DONE" diff --git a/installation/resource/installer/bin/restore-config-from-backup.sh b/installation/resource/installer/bin/restore-config-from-backup.sh index bee29fd1d7c..98fffc10b82 100755 --- a/installation/resource/installer/bin/restore-config-from-backup.sh +++ b/installation/resource/installer/bin/restore-config-from-backup.sh @@ -58,3 +58,7 @@ if [ -d $BEE ]; then cp $CONF/../beewm/* $BEE/bee-workflowmanager/etc/ fi +# -- ELN-LIMS +if [ -d $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc ]; then + cp $CONF/../eln-lims/* $ROOT/core-plugins/eln-lims/1/as/webapps/eln-lims/html/etc/ +fi \ No newline at end of file -- GitLab