diff --git a/openbis_all/source/bash/sprint_install.sh b/openbis_all/source/bash/sprint_install.sh index 2afce2f248e4211ecc2f29805d9041e828eced46..465bd41287d9815af1311496f6081103e3f4b228 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