From b0704a99128941542cc2097376cf9e80e4483842 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Thu, 18 Jun 2015 06:25:24 +0000
Subject: [PATCH] SSDM-1960: Backup/restore log.xml again

SVN: 34210
---
 installation/resource/installer/bin/backup-config.sh             | 1 +
 .../resource/installer/bin/restore-config-from-backup.sh         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/installation/resource/installer/bin/backup-config.sh b/installation/resource/installer/bin/backup-config.sh
index 9fcd87f379d..dd0c82e9183 100755
--- a/installation/resource/installer/bin/backup-config.sh
+++ b/installation/resource/installer/bin/backup-config.sh
@@ -32,6 +32,7 @@ if [ -d $ROOT/openBIS-server ]; then
     copyFileIfExists $ROOT/openBIS-server/jetty/etc/service.properties $CONF/
     copyFileIfExists $ROOT/openBIS-server/jetty/etc/capabilities $CONF/
     copyFileIfExists $ROOT/openBIS-server/jetty/etc/dss-datasource-mapping $CONF/
+    copyFileIfExists $ROOT/openBIS-server/jetty/etc/log.xml $CONF/
     copyFileIfExists $ROOT/openBIS-server/jetty/bin/openbis.conf $CONF/
     copyFileIfExists $ROOT/openBIS-server/jetty/etc/openbis.conf $CONF/
     copyFileIfExists $ROOT/openBIS-server/jetty/bin/jetty.properties $CONF/
diff --git a/installation/resource/installer/bin/restore-config-from-backup.sh b/installation/resource/installer/bin/restore-config-from-backup.sh
index 5e1f1a34821..3090008a944 100755
--- a/installation/resource/installer/bin/restore-config-from-backup.sh
+++ b/installation/resource/installer/bin/restore-config-from-backup.sh
@@ -31,6 +31,7 @@ echo "Restoring configuration backup from $CONF to $ROOT ..."
 # -- AS
 if [ -d $ROOT/openBIS-server ]; then
     cp $CONF/service.properties $ROOT/openBIS-server/jetty/etc/
+    cp $CONF/log.xml $ROOT/openBIS-server/jetty/etc/ 
     cp $CONF/openbis.conf $ROOT/openBIS-server/jetty/etc/
     cp $CONF/jetty.properties $ROOT/openBIS-server/jetty/etc/
     cp $CONF/welcomePageSimpleGeneric.html $ROOT/openBIS-server/jetty/webapps/openbis/custom
-- 
GitLab