snarf updated from experience with new config names, utils updated with higher stack...
[feisty_meow.git] / scripts / archival / serene_backer_upper.sh
index 9ac48ac508fe341ab0769475d7109ad154d3e14d..10c1e06a9f19668c3d48dc6952cef9f5a0e42f6d 100644 (file)
@@ -18,7 +18,7 @@ function check_if_failed()
 # if there was a failure detected.
 function exit_if_failed()
 {
-  check_if_failed
+  check_if_failed $*
   if [ $? -ne 0 ]; then
     exit 1
   fi
@@ -68,13 +68,14 @@ synch_to_backup /etc /z/backup/etc/
 
 ##############
 
-for subdir in albums deepcore drupal fred git sharedspam sim svn trac ; do 
+for subdir in albums deepcore fred/Maildir git sharedspam svn trac www-data ; do 
   synch_to_backup /home/$subdir /z/backup/home/$subdir
 done
 
 ##############
 
 synch_to_backup /var/lib/mailman /z/backup/var/lib/mailman
+synch_to_backup /var/lib/mysql /z/backup/var/lib/mysql
 
 ##############