From fd237d98cad987e76e4cc4ae8fc9b64be8ec0854 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Thu, 12 Jul 2012 10:06:47 +0000
Subject: [PATCH] add backup/restore of capabilities file

SVN: 26088
---
 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 dcef44f7a3a..9a284b688bc 100755
--- a/installation/resource/installer/bin/backup-config.sh
+++ b/installation/resource/installer/bin/backup-config.sh
@@ -29,6 +29,7 @@ ROOT=$BASE/../servers
 # -- AS
 copyFileIfExists $ROOT/openBIS-server/jetty/webapps/openbis/WEB-INF/classes/service.properties $CONF/
 copyFileIfExists $ROOT/openBIS-server/jetty/etc/service.properties $CONF/
+copyFileIfExists $ROOT/openBIS-server/jetty/etc/capabilities $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/
diff --git a/installation/resource/installer/bin/restore-config-from-backup.sh b/installation/resource/installer/bin/restore-config-from-backup.sh
index 35a335b6820..8a914d742b9 100755
--- a/installation/resource/installer/bin/restore-config-from-backup.sh
+++ b/installation/resource/installer/bin/restore-config-from-backup.sh
@@ -39,6 +39,7 @@ cp $CONF/welcomePageSimple.html $ROOT/openBIS-server/jetty/webapps/openbis/
 copyIfExists $CONF/.keystore $ROOT/openBIS-server/jetty/etc/openBIS.keystore
 copyIfExists $CONF/passwd $ROOT/openBIS-server/jetty/etc/
 copyIfExists $CONF/web-client.properties $ROOT/openBIS-server/jetty/etc/
+copyIfExists $CONF/capabilities $ROOT/openBIS-server/jetty/etc/
 
 # -- DSS
 cp $CONF/dss-service.properties $ROOT/datastore_server/etc/service.properties
-- 
GitLab