Hello,
On 3/2/2006 11:31 AM, Michael 'buk' Scherer wrote:
Hey List, Arno.
The idea is just to save some typing.
Job {
Name = Foo
Fileset = aFileset
Schedule = WeekdayCycle,WeekendCycle
[...]
}
Job {
Name = aJob-Weekday
Fileset = weekdayFileset
Schedule = WeekdayCycle
[...]
}
Job {
Name = aJob-Weekend
Fileset = weekendFileset
Schedule = WeekendCycle
}
Currently you need to split up the first job into two seperate jobs, cause you
can't specify (I found out by trial and error ;) two (or more) schedules for a
single job.
The problem is that these jobs are not "connected" in the sense that a
weekend differential or incremental backup can't relate to a weekday
full, diff or incremental backup, and vice versa. You'll save lots of
data more often than necessary, and you won't save space on the weekend
backups.
*snip*
via Python/Script:
Quiet an idea, though not my favourite solution, cause I would just need
a single exclude for the weekend.
So, why not including only that part via a script?
Arno
Thanks,
Michael
On Thu, 2 Mar 2006 - 11:05am, Arno Lehmann wrote:
Hello,
On 3/2/2006 10:11 AM, Michael 'buk' Scherer wrote:
Hi.
I just wondered if its possible to define more than two Schedules for one
job.
It actually is by using 'Schedule = sched_one,sched_two' in the
Job-Definition but only 'sched_one' is used.
I never tried it, but I don't think so.
1.38.3 running here.
Any chance with this somehow? Would avoid specifying jobs two or three times
here. And no, I can't use the Schedule stuff, cause for some jobs, I need
different Filesets during the weekend, so my plan was to specify two
schedules, one for weekdays, one for weekends and assign them to the jobs.
One job uses both schedules, some others just one.
I don't completely understand this problem.
A job always has one fileset, so you would have different jobs anyway, right?
Apart from that, you could use a dynamic fileset, generated by some script,
which would just output one or the other fileset, depending on the weekday.
By the way: Through communication with another Bacula user, I learned about the
existence of the python module period.py which allows a very convenient
checking if a given date is inside a defined period of time. Something like 'if
in_period('Weekend'):' is easy to handle...
So far.
So long.
;-)
Arno
Thanks,
Michael
--
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users