hcoop-backup: On second thought, put -e back on bash subprocess.
authormwolson_admin <mwolson_admin@deleuze.hcoop.net>
Fri, 27 Jun 2008 14:32:55 +0000 (10:32 -0400)
committermwolson_admin <mwolson_admin@deleuze.hcoop.net>
Fri, 27 Jun 2008 14:32:55 +0000 (10:32 -0400)
But ignore any errors that it produces, so that we have a better chance
of getting to the last database dump.  The first backup run did not get
to that point, for some reason.

hcoop-backup

index 366efef..83f9059 100755 (executable)
@@ -145,11 +145,11 @@ vos listvol deleuze | \
 cat volumes | \
   grep -v not-backed-up | \
   xargs -I{} -d\\n -- \
-  bash -c \
+  bash -e -c \
     "F={}.dump$COMPRESS_EXT.aescrypt ;
      vos dump -id {} -localauth -clone |
        $COMPRESS_PROG | ccrypt -k $KEYFILE -e |
-       $MOVE_OVER $CURDATE \$F"
+       $MOVE_OVER $CURDATE \$F" || :
 
 echo "Backing up databases ..."
 F=databases.tar$COMPRESS_EXT.aescrypt