-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
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. 🍏
hertzg
Metadata
Metadata
Assignees
Labels
No labels