In the event of a restore, if I understand it correctly, let me
illustrate an example.  Say you have scheduled a full backup on Sunday
and incremental backups Monday through Saturday.  If somebody comes to
you on Thursday and says that they deleted a folder on the file server
yesterday (Wednesday), the restore would look for the most recent full
backup (Sunday), restore it, then restore the changes in the incremental
backup Monday, Tuesday, and Wednesday.

Now, say I do a manual full backup on Tuesday, to take offsite.  In the
same restore scenario before, would Bacula then look for the most recent
full backup (now Tuesday), and try to restore from it?  (Since the tape
would be inaccessible.)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Novosielski
Sent: Monday, February 27, 2006 14:51
To: bacula-list
Subject: Re: [Bacula-users] Scheduling question

I'm not sure I understand the question -- jobs behave the same way
whether they are run by the scheduler or if they are run from the
console. Incidentally, what I meant was that I clicked on the calendar
in Data Protector and scheduled each monthly backup by hand (actually,
did them monthly but modified those that fell on weekends), meaning that

I had monthly backups except certain months and special backups on the
first weekday of those special months, etc.. I'm not actually sure how
you would handle something like this in bacula, as the schedules are
defined prior to launch of the daemons and I'm not aware of any
capability to add to the schedule from the console. But you could
manually run these backups from the console on the day in question.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630




Jeremy Koppel wrote:
> Actually, just handling it manually is an interesting option, too, as
we
> need manual intervention to take the tape offsite anyway.  But how
does
> Bacula handle a restore in that event?  If you do differentials the
rest
> of the week, does it diff from your automated Sunday full backup, or
> does it start with your full, manual, offsite backup, thus requiring
you
> to have it onhand in the event of a restore?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
> Novosielski
> Sent: Friday, February 24, 2006 09:09
> To: Martin Simmons
> Cc: [EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Scheduling question
>
> I learned that things like this were a problem when I started using
> bacula, as there is no easy way to schedule it. As it was, with Data
> Protector, I had been doing it by hand anyway. Doing the 1st and 3rd
> Tuesday is how I ultimately handled the situation. We don't have off
> hours staff anyway, and I had to try to avoid Monday and Friday since
> they are often holidays.
>
> Martin Simmons wrote:
>
>
>>>>>>> On Thu, 23 Feb 2006 20:42:09 +0100, Arno Lehmann
>>>>>>>
> <[EMAIL PROTECTED]> said:
>
>>>>>>>
>>>>>>>
>>>>>>>
>>> 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 :-)
>>>
>>>
>>>
>> Another way is to run both jobs every week and have a RunBeforeJob
>>
> script that
>
>> returns an non-zero exit status if it is the wrong week (which causes
>>
> the job
>
>> to abort).
>>
>> __Martin
>>
>>
>> -------------------------------------------------------
>> 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=k&kid0944&bid$1720&dat1642
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>>
>
>
>
> -------------------------------------------------------
> 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?cmdk&kid0944&bid$1720&dat1642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>



-------------------------------------------------------
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





-------------------------------------------------------
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

Reply via email to