do weasels way to do mass re-runs of backups
[mirror/dsa-wiki.git] / 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
+```