From: Martin Zobel-Helas Date: Fri, 2 Feb 2018 14:58:22 +0000 (+0100) Subject: do weasels way to do mass re-runs of backups X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=0721aced26a00ba57591c2f8a9e93a4860d51c40 do weasels way to do mass re-runs of backups Signed-off-by: Martin Zobel-Helas --- 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 +```