Changes between Version 6 and Version 7 of S3QLBackup
- Timestamp:
- Oct 15, 2015, 9:52:09 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3QLBackup
v6 v7 29 29 # mount directory for sshfs file systems 30 30 SSHFS_MOUNT="/media/sshfs" 31 # directory where the scripts this script depends on are located 32 SCRIPT_DIR="/usr/local/bin" 31 33 32 34 # check the $S3QL_MOUNT directory exists … … 64 66 if [[ -d "$SSHFS_SOURCE" ]]; then 65 67 # mount the sshfs 66 mnt-sshfs $BUCKET && \68 $SCRIPT_DIR/mnt-sshfs $BUCKET && \ 67 69 echo "Success mounting $SSHFS_MOUNT/$BUCKET" || \ 68 70 { echo "Problem mounting $SSHFS_SOURCE" ; exit 1 ; } … … 75 77 if [[ -d "$S3QL_MOUNT/$BUCKET" ]]; then 76 78 # mount the s3ql directory 77 mnt-s3ql $BUCKET && \79 $SCRIPT_DIR/mnt-s3ql $BUCKET && \ 78 80 echo "Success mounting $S3QL_MOUNT/$BUCKET" || \ 79 81 { echo "Problem mounting $S3QL_MOUNT/$BUCKET" ; exit 1 ; } … … 84 86 85 87 # The following two commands are commented out as the mnt-s3ql script covers 86 # this and is run via cron before this script is run88 # this 87 89 88 90 # Recover cache if e.g. system was shut down while fs was mounted