]> arthur.barton.de Git - backup-script.git/commit
Implement "{default_}job_pre_exec" and "{default_}job_post_exec"
authorAlexander Barton <alex@barton.de>
Thu, 26 Feb 2015 13:50:06 +0000 (14:50 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 26 Feb 2015 13:50:06 +0000 (14:50 +0100)
commit0eba299ccfa6ebc975ea6494ee98b8ab4d4e090a
tree7c13dfddcac174066a12a705d6ebb44066a94b43
parent2aa3a431169c9c857413f2ae0295ec0cae76a555
Implement "{default_}job_pre_exec" and "{default_}job_post_exec"

When the pre-exec command returns non 0, the backup job will be
skipped and listed as failed (which results in the "there have been
errors" summy); if it returns 99, the backup job is skipped but NOT
accounted as failed.

The exit code of the post-exec command is ignored.
bin/backup-script