Author: ritchiem
Date: 2008-10-17 08:54:57 -0400 (Fri, 17 Oct 2008)
New Revision: 2647
Modified:
store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh
Log:
Update script to set BDB_HOME and QPID_HOME as per storeUpgrade.sh
Modified: store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh
===================================================================
--- store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh 2008-10-17
12:49:30 UTC (rev 2646)
+++ store/branches/java/broker-queue-refactor/java/bdbstore/bin/backup.sh 2008-10-17
12:54:57 UTC (rev 2647)
@@ -9,6 +9,15 @@
fi
done
+if [ -z "$QPID_HOME" ]; then
+ export QPID_HOME=$(dirname $(dirname $(readlink -f $0)))
+ export PATH=${PATH}:${QPID_HOME}/bin
+fi
+
+if [ -z "$BDB_HOME" ]; then
+ export BDB_HOME=$(dirname $(dirname $(readlink -f $0)))
+fi
+
LIBS=$BDB_HOME/lib/qpid-bdbtools-M3.jar:$BDB_HOME/lib/je-3.3.62.jar:$BDB_HOME/lib/qpid-bdbstore-M3.jar:$QPID_HOME/lib/qpid-incubating.jar
echo "Starting Hot Backup Script"