From 07b6589f25b6a1ba55f0f25515f2e2d73200b80f Mon Sep 17 00:00:00 2001
From: kohleman <kohleman>
Date: Wed, 2 Sep 2009 12:49:35 +0000
Subject: [PATCH] added: saving the latest properties files to ~/config

SVN: 12402
---
 openbis_all/source/bash/sprint_install.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/openbis_all/source/bash/sprint_install.sh b/openbis_all/source/bash/sprint_install.sh
index 2afce2f248e..465bd41287d 100755
--- a/openbis_all/source/bash/sprint_install.sh
+++ b/openbis_all/source/bash/sprint_install.sh
@@ -40,6 +40,12 @@ if [ -e $SERVERS_PREV_VER ]; then
 	./$SERVERS_PREV_VER/datastore_server/datastore_server.sh stop
 fi
 
+echo Saving the config and properties files...
+cp ~/sprint/datastore_server/etc/service.properties $CONFIG_DIR/datastore_server-service.properties
+cp ~/sprint/openBIS-server/apache-tomcat/webapps/openbis/WEB-INF/classes/service.properties $CONFIG_DIR/service.properties 
+cp ~/sprint/openBIS-server/apache-tomcat/etc/openbis.conf $CONFIG_DIR/openbis.conf
+
+
 echo Making a database dump...
 DB_SNAPSHOT=db_snapshots/$SERVERS_PREV_VER-$DB_NAME.sql
 pg_dump -U postgres -O $DB_NAME > $DB_SNAPSHOT
-- 
GitLab