On lundi, 6 mars 2017 15.00:42 h CET Dan Broscoi wrote:
> Hi,
> 
> Considering:
> http://bacula.10910.n7.nabble.com/Restarting-lots-of-Jobs-after-a-problem-H
> ow-td53873.html
> 
> I have a schedule:
> 
> Schedule {
>   Name = "BiMonthlyFull"
>   Run = Full jan 1st sat at 21:00
>   Run = Full mar 1st sat at 23:05
>   Run = Full may 1st sat at 23:05
>   Run = Full jul 1st sat at 23:05
>   Run = Full sep 1st sat at 23:05
>   Run = Full nov 1st sat at 23:05
> }
> 
> And in the 1st Saturday of the month (last weekend) I had a major power
> failure and BareOS server was shut down the whole weekend.
> 
> Now, as is Monday , how can I start all those jobs ?
> 
> 
> 
> Thank you,
> Dan.

I would goes the following way.

WHEN='2017-03-06 20:00:00'
for JOBS in $(define here a way to crap the list of job)
# only don't get fooled by email split
echo "run job=${JOB} level=full when=\"${WHEN}\" yes" | bconsole
# add options if needed
# spooldata=yes
done


-- 

Bruno Friedmann 
 Ioda-Net Sàrl www.ioda-net.ch
 Bareos Partner, openSUSE Member, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

openSUSE Tumbleweed
Linux 4.10.1-1-default x86_64 GNU/Linux, nvidia: 378.13
Qt: 5.7.1, KDE Frameworks: 5.31.0, Plasma: 5.9.3, kmail2 5.4.2

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to