X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fserene_backer_upper.sh;h=2092f2f8852719c1afd09fe8b6a2b43ad1b30db1;hb=2b85d7ecc6d0e163ec13e20d4e2d0040008fe45c;hp=8a8526016877c3b61a12b1078787cad653330306;hpb=f63ace5a19fa84c8daf669684ac189575d1eb25b;p=feisty_meow.git diff --git a/scripts/archival/serene_backer_upper.sh b/scripts/archival/serene_backer_upper.sh index 8a852601..2092f2f8 100644 --- a/scripts/archival/serene_backer_upper.sh +++ b/scripts/archival/serene_backer_upper.sh @@ -15,7 +15,7 @@ function synch_to_backup() fi echo "Synchronizing $source into $dest." synch_files "$source" "$dest" - test_or_continue "synching $source to $dest" + continue_on_error "synching $source to $dest" } ############## @@ -27,12 +27,12 @@ function synch_to_backup() # now saddle up the backup. #NO LONGER USING MOUNT: mount /z/backup/ -#NO LONGER USING MOUNT: test_or_die "mounting backup folder" +#NO LONGER USING MOUNT: exit_on_error "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... #test -d /z/backup/etc -a -d /z/backup/home -#test_or_die "testing presence of prior backup" +#exit_on_error "testing presence of prior backup" ############## @@ -52,6 +52,6 @@ synch_to_backup /var/lib/mysql /z/backup/var/lib/mysql ############## #NO LONGER USING MOUNT: umount /z/backup/ -#NO LONGER USING MOUNT: test_or_die "unmounting backup folder" +#NO LONGER USING MOUNT: exit_on_error "unmounting backup folder"