Hello,
On 2/23/2006 8:11 PM, Jeremy Koppel wrote:
Hello,
We’ve been using Bacula in our company since the beginning
of the year with a good deal of success, but I had a scheduling question
that I hadn’t anticipated earlier. As part of our backup rotation, I
have 2 additional pools, Offsite1 and Offsite2 (just 1 tape each for
now), that are scheduled to be written to on alternating Saturdays. How
it actually breaks down is:
...
* The Question: *
But I see that we have a problem coming up in April; 5 Saturdays. So if
I specify either pool for the 5^th Saturday, we loose our rotation. I
see that what we actually need to do is to set these up for ‘every other
Saturday’ regardless of when it falls during the month. My question is,
how do you do that?
I'd try using the week of year specification in the schedule. You'd
simply schedule like
run = pool=offsite1 w01,w03,w05,... sat at 2:00
the problems here: I don't know if this actually works :-) and you still
have to worry about the odd number of weeks per year. At least only one
a year, and simply by swapping the pool definitions in the job overrides
of the schedules...
The better solution, also absolutely untested, would be to use the
python interface and implement a simple script that determines which
pool to use. I even assume it's impossible at the moment, because in the
manual it states that the Pool attribute of a job object in python is
read-only... but that might change one fine day :-)
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users