On Tuesday 28 July 2015 01.25:42 Jalil wrote:
> 1- How to prevent an Incremental job from be upgraded automatically to Full
> backup if no previous Full backup was done?
May I ask the question: on what the incremental should then do its comparison
if no prior full exist.
That's a non-sense.
> 2- Which is the First weekday regarding to the below clauses: Monday or
> Sunday?
> <wday-keyword> = sun | mon | tue | wed | thu | fri | sat
> w00 is not defined by the ISO specification. A week starts with Monday and
> ends with Sunday.
You certainly aware that a lot of countries like US get used to start week with
Sunday.
>From where come most of IT (US) bingo ...
Check date or cron man page most of those tools now allow you to use 0 or 7 to
represent sunday.
>
> 3- I have 3 Jobs (Job1-Job3) using the same Pool (Volume123) and scheduled on
> the same date on different hours, Job1 21:00, Job2 22:00, Job3 23:00;
> a- How to make only Job1 to prune and recycle only Volume123 before starting
> using it?
> I tried to use RunScript in Job1 but I'm confused how to use "purge" command?
> RunScript {
> Console = "purge volume %v"
> RunsWhen = Before
> FailJobOnError = Yes
> RunsOnClient = No
> }
The purge / prune of a media should not depend of a job, but by the attribute
of the client/pool/media/storage.
> b- How to make only Job3 to eject only Volume123 after its backup completed
> successfully?
> Will RunAfterJob (Job3) do the trick?
> RunAfterJob = "/etc/bacula/end_of_backup.sh"
> ----------end_of_backup.sh-----------
> #! /bin/sh
> /usr/lib/bacula/delete_catalog_backup
> mt rewind
> mt eject
> exit 0
> -------------------------------------
>
What's you're looking for is in the doc under
RunScript
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member & Board, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
--
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.