+ Reply to Thread
Results 1 to 3 of 3

Have fun with managing Data Protector schedules

  1. Have fun with managing Data Protector schedules

    Hi!

    Data Protector (formerly: OmniBack) uses "schedules" (configuration files with
    schedule information) to automatically start backup jobs. Those files are in
    /etc/opt/omni/server/schedules (for version 5.50).

    The schedules contain "rules" (otherwise you'd have to list all the dates and
    times manually) for backups to perform, while the GUI displays single
    "events". When you modify a schedule using the GUI you'll have a configuration
    problem: The GUI would have to guess the rules from the current configuration.

    Now why I'm writing this: For an administrator concearned with "configuration
    management" (maybe using revision control systems) this is a night mare: If
    you change nothing in the GUI, but save the schedule, a lot of changes are
    written. (Just one example: The list of months always starts with the month
    when the configuration was saved, even if you specified all months (i.e. Jan
    ... Dec))

    I could elaborate much more on the topic, but I think, I'll leave it to the
    reader, closing with a simple exercise: This is just a "normal" backup
    schedule taht "evolved" form a simply hand-written file (not specifically
    constructed to demonstrate any issue); please try to find out

    1) where the documentation of the configuration syntax is
    2) what the semantics of the configuration is
    (you might try to guess both, just assume it's some freeware product)
    3) What the current scheduling rules are (when will what kind of backup be
    performed)

    If you manage all that,
    1) either there is no need to improve the product
    2) you can join OmniBack development sharing you insights.

    Regards,
    Ulrich

    -full -protection -weeks 52
    -only 2005
    -day 23 -month Jan
    -day 23 -month Jul
    -at 22:00

    -incr 5 -protection -weeks 8
    -every
    -day 1 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 22:00

    -incr -protection -days 7 -load medium
    -starting 22 8 2004 -every
    -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 22 8 2004 -every
    -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Nov

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 8 -month Nov

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 22 -month Nov

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 22 -month Jan

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Jan
    -day 23 -month Jul

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Aug
    -day 15 -month May

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 8 29 -month Jan

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 12 9 2004 -every
    -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 22 -month May

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 22 8 2004 -every
    -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 8 -month Feb
    -day 8 -month Mar

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 22 -month Feb
    -day 22 -month Mar

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 29 -month Nov

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Feb
    -day 15 -month Mar

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 19 9 2004 -every
    -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 23 -month Jan
    -day 8 29 -month May

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Sep
    -day 8 -month Dec
    -day 22 -month Jun

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 -month Feb
    -day 1 29 -month Mar

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 8 -month Oct
    -day 22 -month Apr
    -day 15 -month Jul

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 22 8 2004 -every
    -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 22 -month Oct
    -day 8 -month Apr
    -day 1 29 -month Jul

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 22 8 2004 -every
    -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 22 -month Sep
    -day 15 -month Dec
    -day 1 29 -month Jun

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 15 8 2004 -every
    -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 15 -month Oct
    -day 1 29 -month Apr
    -day 22 -month Jul

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 8 8 2004 -every
    -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 8 -month Sep
    -day 1 29 -month Dec
    -day 15 -month Jun

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 29 -month Oct
    -day 15 -month Apr
    -day 8 -month Jul

    -at 23:30

    -incr -protection -days 7 -load medium
    -starting 1 8 2004 -every
    -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -exclude
    -day 1 29 -month Sep
    -day 22 -month Dec
    -day 8 -month Jun

    -at 23:30

    -incr 6 -protection -weeks 2 -load medium
    -every
    -day 22 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:00

    -incr 6 -protection -weeks 2 -load medium
    -every
    -day 15 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:00

    -incr 6 -protection -weeks 2 -load medium
    -every
    -day 8 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    -at 23:00

    -incr 6 -protection -weeks 2 -load medium
    -only 2004
    -day 29 -month Aug
    -day 29 -month Sep
    -day 29 -month Oct
    -day 29 -month Nov
    -day 29 -month Dec
    -at 23:00

    -incr 6 -protection -weeks 2 -load medium
    -only 2005
    -day 29 -month Jan
    -day 29 -month Mar
    -day 29 -month Apr
    -day 29 -month May
    -day 29 -month Jun
    -day 29 -month Jul
    -at 23:00


  2. Re: Have fun with managing Data Protector schedules

    Ulrich Windl wrote:
    > Hi!
    >
    > Data Protector (formerly: OmniBack) uses "schedules" (configuration files with
    > schedule information) to automatically start backup jobs. Those files are in
    > /etc/opt/omni/server/schedules (for version 5.50).
    >
    > The schedules contain "rules" (otherwise you'd have to list all the dates and
    > times manually) for backups to perform, while the GUI displays single
    > "events". When you modify a schedule using the GUI you'll have a configuration
    > problem: The GUI would have to guess the rules from the current configuration.
    >
    > Now why I'm writing this: For an administrator concearned with "configuration
    > management" (maybe using revision control systems) this is a night mare: If
    > you change nothing in the GUI, but save the schedule, a lot of changes are
    > written. (Just one example: The list of months always starts with the month
    > when the configuration was saved, even if you specified all months (i.e. Jan
    > .. Dec))
    >
    > I could elaborate much more on the topic, but I think, I'll leave it to the
    > reader, closing with a simple exercise: This is just a "normal" backup
    > schedule taht "evolved" form a simply hand-written file (not specifically
    > constructed to demonstrate any issue); please try to find out
    >
    > 1) where the documentation of the configuration syntax is
    > 2) what the semantics of the configuration is
    > (you might try to guess both, just assume it's some freeware product)
    > 3) What the current scheduling rules are (when will what kind of backup be
    > performed)
    >
    > If you manage all that,
    > 1) either there is no need to improve the product
    > 2) you can join OmniBack development sharing you insights.
    >
    > Regards,
    > Ulrich
    >
    > -full -protection -weeks 52
    > -only 2005
    > -day 23 -month Jan
    > -day 23 -month Jul
    > -at 22:00
    >
    > -incr 5 -protection -weeks 8
    > -every
    > -day 1 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 22:00
    >
    > -incr -protection -days 7 -load medium
    > -starting 22 8 2004 -every
    > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 22 8 2004 -every
    > -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Nov
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 8 -month Nov
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 22 -month Nov
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 22 -month Jan
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Jan
    > -day 23 -month Jul
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Aug
    > -day 15 -month May
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -3day Sat -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 8 29 -month Jan
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 12 9 2004 -every
    > -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 22 -month May
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 22 8 2004 -every
    > -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 8 -month Feb
    > -day 8 -month Mar
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 22 -month Feb
    > -day 22 -month Mar
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -4day Mon -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 29 -month Nov
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Feb
    > -day 15 -month Mar
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 19 9 2004 -every
    > -3day Sun -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 23 -month Jan
    > -day 8 29 -month May
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Sep
    > -day 8 -month Dec
    > -day 22 -month Jun
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -4day Tue -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 -month Feb
    > -day 1 29 -month Mar
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 8 -month Oct
    > -day 22 -month Apr
    > -day 15 -month Jul
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 22 8 2004 -every
    > -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 22 -month Oct
    > -day 8 -month Apr
    > -day 1 29 -month Jul
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 22 8 2004 -every
    > -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 22 -month Sep
    > -day 15 -month Dec
    > -day 1 29 -month Jun
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 15 8 2004 -every
    > -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 15 -month Oct
    > -day 1 29 -month Apr
    > -day 22 -month Jul
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 8 8 2004 -every
    > -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 8 -month Sep
    > -day 1 29 -month Dec
    > -day 15 -month Jun
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -4day Fri -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 29 -month Oct
    > -day 15 -month Apr
    > -day 8 -month Jul
    >
    > -at 23:30
    >
    > -incr -protection -days 7 -load medium
    > -starting 1 8 2004 -every
    > -4day Wed -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -exclude
    > -day 1 29 -month Sep
    > -day 22 -month Dec
    > -day 8 -month Jun
    >
    > -at 23:30
    >
    > -incr 6 -protection -weeks 2 -load medium
    > -every
    > -day 22 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:00
    >
    > -incr 6 -protection -weeks 2 -load medium
    > -every
    > -day 15 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:00
    >
    > -incr 6 -protection -weeks 2 -load medium
    > -every
    > -day 8 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > -at 23:00
    >
    > -incr 6 -protection -weeks 2 -load medium
    > -only 2004
    > -day 29 -month Aug
    > -day 29 -month Sep
    > -day 29 -month Oct
    > -day 29 -month Nov
    > -day 29 -month Dec
    > -at 23:00
    >
    > -incr 6 -protection -weeks 2 -load medium
    > -only 2005
    > -day 29 -month Jan
    > -day 29 -month Mar
    > -day 29 -month Apr
    > -day 29 -month May
    > -day 29 -month Jun
    > -day 29 -month Jul
    > -at 23:00
    >

    Would it be cheating if I set that up as a test job and imported it in
    to my CellServer and looked at what it the schedule is "supposed" to be?
    This has driven me crazy also trying to determine the logic behind it,
    actually it looks like our weekly jobs that has been disabled/enabled a
    couple of times.
    Thats what happens when you take a good product written on HPUX and
    write it on Winders then port it back to HPUX. I can remember how good
    support used to be when the Dev was in Germany and you could actually
    talk to the guys that wrote it...

  3. Re: Have fun with managing Data Protector schedules

    Alan D Johnson writes:

    > Ulrich Windl wrote:
    > > Hi!
    > > Data Protector (formerly: OmniBack) uses "schedules" (configuration files
    > > with
    > > schedule information) to automatically start backup jobs. Those files are in
    > > /etc/opt/omni/server/schedules (for version 5.50).
    > > The schedules contain "rules" (otherwise you'd have to list all the dates and
    > > times manually) for backups to perform, while the GUI displays single
    > > "events". When you modify a schedule using the GUI you'll have a configuration
    > > problem: The GUI would have to guess the rules from the current configuration.
    > > Now why I'm writing this: For an administrator concearned with "configuration
    > > management" (maybe using revision control systems) this is a night mare: If
    > > you change nothing in the GUI, but save the schedule, a lot of changes are
    > > written. (Just one example: The list of months always starts with the month
    > > when the configuration was saved, even if you specified all months (i.e. Jan
    > > .. Dec))
    > > I could elaborate much more on the topic, but I think, I'll leave it to the
    > > reader, closing with a simple exercise: This is just a "normal" backup
    > > schedule taht "evolved" form a simply hand-written file (not specifically
    > > constructed to demonstrate any issue); please try to find out
    > > 1) where the documentation of the configuration syntax is
    > > 2) what the semantics of the configuration is
    > > (you might try to guess both, just assume it's some freeware product)
    > > 3) What the current scheduling rules are (when will what kind of backup be
    > > performed)
    > > If you manage all that,
    > > 1) either there is no need to improve the product
    > > 2) you can join OmniBack development sharing you insights.
    > > Regards,
    > > Ulrich
    > > -full -protection -weeks 52 -only 2005
    > > -day 23 -month Jan
    > > -day 23 -month Jul
    > > -at 22:00
    > > -incr 5 -protection -weeks 8 -every
    > > -day 1 -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul -at
    > > 22:00
    > > -incr -protection -days 7 -load medium -starting 22 8 2004 -every
    > > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > > -at 23:30
    > > -incr -protection -days 7 -load medium -starting 15 8 2004 -every
    > > -4day Thu -month Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul
    > > -at 23:30

    [...lengthy sample removed...]
    > Would it be cheating if I set that up as a test job and imported it in to my
    > CellServer and looked at what it the schedule is "supposed" to be? This has
    > driven me crazy also trying to determine the logic behind it, actually it
    > looks like our weekly jobs that has been disabled/enabled a couple of times.
    > Thats what happens when you take a good product written on HPUX and write it
    > on Winders then port it back to HPUX. I can remember how good support used to
    > be when the Dev was in Germany and you could actually talk to the guys that
    > wrote it...


    The question is this: cron seems to have a more powerful specification
    language than Data Protector has for over 30 years now. ISC's cron is even
    better:

    The time and date fields are:

    field allowed values
    ----- --------------
    minute 0-59
    hour 0-23
    day of month 1-31
    month 1-12 (or names, see below)
    day of week 0-7 (0 or 7 is Sun, or use names)

    A field may be an asterisk (*), which always stands for
    ``first-last''.

    Ranges of numbers are allowed. Ranges are two numbers separated with
    a hyphen. The specified range is inclusive. For example, 8-11 for an
    ``hours'' entry specifies execution at hours 8, 9, 10 and 11.

    Lists are allowed. A list is a set of numbers (or ranges) separated
    by commas. Examples: ``1,2,5,9'', ``0-4,8-12''.

    Step values can be used in conjunction with ranges. Following a range
    with ``/'' specifies skips of the number's value through the
    range. For example, ``0-23/2'' can be used in the hours field to
    specify command execution every other hour (the alternative in the V7
    standard is ``0,2,4,6,8,10,12,14,16,18,20,22''). Steps are also per-
    mitted after an asterisk, so if you want to say ``every two hours'',
    just use ``*/2''.

    Names can also be used for the ``month'' and ``day of week'' fields.
    Use the first three letters of the particular day or month (case
    doesn't matter). Ranges or lists of names are not allowed.

    To go back to the issue: After starting to write a schedule by hand, I stopped
    when realizing that I failed to specify "first Wednesday of a month". So I
    started to write a Perl program that will produce a schedule according to the
    rules I've set up. It works so far. As a next stept, the Perl program will try
    to avoid parallel backups when adding more schedules. After that, the program
    will be able to print a calendar of all scheduled backups, most likely more
    useful that that Data Protector can report.

    The other mess is the "Holidays file": It counts days within a year, and it
    lacks any rules for movable holidays like Easter. In 2005 I would expect that
    the product comes with a set of rules and algorithms that will know the
    holidays (For my Palm I have a program "Feiertage" that does exactly that).

    The scheduler can only skip backups on holidays, but not re-schedule them for
    the next business day. That's why the administrator's guide suggests not to
    enable that feature. (OK, currently my Perl program cannot do that as well,
    but who knows...)

    Regards,
    Ulrich

+ Reply to Thread