rdiff-backup success generale notification
In the event the rdiff-backup succeeds I would like to feed a backup-manager system. In my case the email is unsuitable for this system and I'd like to run arbitrary command after the backup. (backupninja is run from cron, but even the general backupninja status does not tell anything about individual script status)
The attached patch solves the issue: it runs a (configuration originated) command just after backup succeeded and before the execution status (= rdiff-backup return code) is lost (set to 0)
To avoid some quoting/system complexity, the raw command line is run through bash -c
(from redmine: created on 2016-03-17, relates #6727 (closed), blocks #8185 (closed))
Edited by Guillaume Subiron