]> oss.titaniummirror.com Git - ovzbpc.git/blobdiff - bpcbackup
Change README file name
[ovzbpc.git] / bpcbackup
index d70d2285845bae52a5c76c3031f8be81b8d4b11a..895ba8f7e93da66aa4f13f90055eeadfe8903301 100755 (executable)
--- a/bpcbackup
+++ b/bpcbackup
@@ -8,6 +8,7 @@
 # on the HNs.  Only the HN hosting the BPC VE will do anything.
 
 VEID=1158
+export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH
 
 # Complain if this script is running on a server not configured with OpenVZ
 if [ ! -x /usr/sbin/vzctl ]; then
@@ -27,9 +28,9 @@ fi
 # will error.  This is correct, since we cannot auto-mount esata, since it
 # has to be physically connected first, and may require authentication on mount
 # if the volume is encrypted.
-bpcdump
+/usr/local/bin/bpcdump
 ret=$?
-esata umount
+/usr/local/bin/esata umount
 ret2=$?
 [ "$ret" != "0" ] && exit $ret
 [ "$ret2" != "0" ] && exit $ret2