From 6f93dbe5eea89b63f0680786b5356a08755da3a4 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Thu, 9 Apr 2009 12:34:12 +0000
Subject: [PATCH] LMS-832 make a copy instead of moving the DSS store

SVN: 10656
---
 openbis_all/source/bash/sprint_install.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis_all/source/bash/sprint_install.sh b/openbis_all/source/bash/sprint_install.sh
index 08dc99947ec..ee726ad9a82 100755
--- a/openbis_all/source/bash/sprint_install.sh
+++ b/openbis_all/source/bash/sprint_install.sh
@@ -49,7 +49,7 @@ unzip ../datastore_server*$VER*
 cd datastore_server
 cp -p ~/datastore_server-service.properties etc/service.properties
 cp -p $KEYSTORE etc/openBIS.keystore
-mv -f ~/old/sprint-$PREV_VER/datastore_server/data/store/* data/store
+cp -Rf ~/old/sprint-$PREV_VER/datastore_server/data/store/* data/store
 sed 's/-Djavax.net.ssl.trustStore=etc\/openBIS.keystore //g' datastore_server.sh > xxx
 mv -f xxx datastore_server.sh
 chmod 744 datastore_server.sh
@@ -63,6 +63,6 @@ rm -rf openbis
 
 # Reset the rm command alias
 alias 'rm=rm -i'
-alias 'cp=cp -i'
+alias 'cp=cp -ipR'
 
 echo Done!
\ No newline at end of file
-- 
GitLab