From 0721aced26a00ba57591c2f8a9e93a4860d51c40 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Fri, 2 Feb 2018 15:58:22 +0100 Subject: [PATCH] do weasels way to do mass re-runs of backups Signed-off-by: Martin Zobel-Helas --- input/howto/bacula-hints.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/input/howto/bacula-hints.mdwn b/input/howto/bacula-hints.mdwn index 0382a63..2b2aa48 100644 --- a/input/howto/bacula-hints.mdwn +++ b/input/howto/bacula-hints.mdwn @@ -12,3 +12,8 @@ select path,name from filename inner join file on filename.filenameid=file.filen * run bconsole * type "run", and pick the host * if necessary adjust "level", then start the backup + +### do a mass reschedule on what is needed +``` +(cd /etc/bacula/conf.d && for i in *; do h="${i%%.conf}"; /usr/lib/nagios/plugins/dsa-check-bacula -w 17h $h > /dev/null|| echo "run $h yes"; done) |tee incruns +``` -- 2.20.1