From 2ee15d798f384c233f406c811ca21f539ad4730c Mon Sep 17 00:00:00 2001 From: mwolson_admin Date: Fri, 27 Jun 2008 10:32:55 -0400 Subject: [PATCH] hcoop-backup: On second thought, put -e back on bash subprocess. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcoop-backup b/hcoop-backup index 366efef..83f9059 100755 --- a/hcoop-backup +++ b/hcoop-backup @@ -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 -- 2.20.1