You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I love this script, and I'm using aws s3 --sync to upload $BACKUPDIR to s3, via the $POSTBACKUP hook. However, since the end of the script calls
rm -f "$LOGFILE" "$LOGERR"
The upload operation will fail partially through. This was surprisingly hard to debug (I thought files were missing due to cleanup or rotation). Anyway, having an option to disable the logfile purge, or wait until $POSTBACKUP finishes could be useful. (Which might be trick with aws s3's async behavior.)
In anycase, there might be someone else who finds this issue useful in the course of debugging. 🍏
The text was updated successfully, but these errors were encountered:
Hi, I love this script, and I'm using
aws s3 --sync
to upload$BACKUPDIR
to s3, via the$POSTBACKUP
hook. However, since the end of the script callsThe upload operation will fail partially through. This was surprisingly hard to debug (I thought files were missing due to cleanup or rotation). Anyway, having an option to disable the logfile purge, or wait until
$POSTBACKUP
finishes could be useful. (Which might be trick withaws s3
's async behavior.)In anycase, there might be someone else who finds this issue useful in the course of debugging. 🍏
The text was updated successfully, but these errors were encountered: