Skip to content
Snippets Groups Projects
Commit 07b6589f authored by kohleman's avatar kohleman
Browse files

added: saving the latest properties files to ~/config

SVN: 12402
parent 33bc3018
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment