X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fserene_backer_upper.sh;h=b6dec6d9eab170f3835f303223fabbcbac17cfd3;hb=4f2922289d9e6f33ec81a09643c32ece76b57231;hp=517b4733fb68392c8a944c799f6ccaea733ad4d1;hpb=22415d0725fa56857f3e7744a0cd1c741e2e9191;p=feisty_meow.git diff --git a/scripts/archival/serene_backer_upper.sh b/scripts/archival/serene_backer_upper.sh index 517b4733..b6dec6d9 100644 --- a/scripts/archival/serene_backer_upper.sh +++ b/scripts/archival/serene_backer_upper.sh @@ -51,11 +51,11 @@ function synch_to_backup() # main body of script... # just undo it first, to try to be sure we know we are mounted properly later. -umount /z/backup &>/dev/null +#NO LONGER USING MOUNT: umount /z/backup &>/dev/null # now saddle up the backup. -mount /z/backup/ -exit_if_failed "mounting backup folder" +#NO LONGER USING MOUNT: mount /z/backup/ +#NO LONGER USING MOUNT: exit_if_failed "mounting backup folder" # we should always be synching to an existing set in there. make sure they exist. # for the first ever backup, this is not a good check... @@ -68,7 +68,7 @@ synch_to_backup /etc /z/backup/etc/ ############## -for subdir in albums deepcore drupal fred/Maildir git sharedspam svn trac www-data ; do +for subdir in fred/Maildir git sharedspam svn trac www-data ; do synch_to_backup /home/$subdir /z/backup/home/$subdir done @@ -79,7 +79,7 @@ synch_to_backup /var/lib/mysql /z/backup/var/lib/mysql ############## -umount /z/backup/ -exit_if_failed "unmounting backup folder" +#NO LONGER USING MOUNT: umount /z/backup/ +#NO LONGER USING MOUNT: exit_if_failed "unmounting backup folder"