do weasels way to do mass re-runs of backups
authorMartin Zobel-Helas <zobel@ftbfs.de>
Fri, 2 Feb 2018 14:58:22 +0000 (15:58 +0100)
committerMartin Zobel-Helas <zobel@ftbfs.de>
Fri, 2 Feb 2018 14:58:22 +0000 (15:58 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@ftbfs.de>
input/howto/bacula-hints.mdwn

index 0382a63..2b2aa48 100644 (file)
@@ -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
+```