X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=blobdiff_plain;f=input%2Fhowto%2Fbacula-hints.mdwn;h=2b2aa48348abbed4fd3fb3ac27daa8eb3e05706c;hp=0382a63eaeda022fc471c76ae6b2196db7a1145a;hb=0721aced26a00ba57591c2f8a9e93a4860d51c40;hpb=79e11c229949d459edcac3e232ec8ea59c0260db 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 +```