Bacula-users

Re: [Bacula-users] Reschedule a VirtualFull?

2010-07-06 03:52:13
Subject: Re: [Bacula-users] Reschedule a VirtualFull?
From: Graham Keeling <graham AT equiinet DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 6 Jul 2010 08:52:51 +0100
On Mon, Jul 05, 2010 at 12:55:24PM -0400, Dan Langille wrote:
> resending with cc to list
>
> On 7/5/2010 12:26 PM, Graham Keeling wrote:
>> On Mon, Jul 05, 2010 at 11:58:31AM -0400, Dan Langille wrote:
>>> On 7/5/2010 11:37 AM, Graham Keeling wrote:
>>>> Hello,
>>>> I have a schedule like this in my bacula-dir.conf:
>>>>
>>>> Schedule {
>>>>     Name = "ScheduleX"
>>>>     Run = Level=Incremental mon at 18:00
>>>>     Run = Level=Incremental tue at 18:00
>>>>     Run = Level=Incremental wed at 18:00
>>>>     Run = Level=Incremental thu at 18:00
>>>>     Run = Level=Incremental fri at 18:00
>>>>     Run = Level=Incremental sat at 18:00
>>>>     Run = Level=Incremental sun at 18:00
>>>>     Run = Level=VirtualFull 1st sun at 21:00
>>>> }
>>>
>>> FYI: with this schedule you'll get both a VirtualFull and an Incremental
>>> on the 1st Sun.  Just saying...  To avoid that, you could do this:
>>>
>>>      Run = Level=Incremental 2nd-5th sun at 18:00
>>
>> If I did that, I would risk losing data because I wouldn't be doing any real
>> backup on the 1st Sunday.
>
> ahh yes.
>
> Why are you worried about not rescheduling inc?

If one is missed, I will get one the next day.
If a virtual is missed, I will not get another until next month.

Also, if bacula sees the virtuals and the incrementals as identical except for
the level, I'm guessing that it would be possible for incremental reschedules
to conflict with the virtual reschedules. There are options for deleting
'duplicates', for example, that won't distinguish between them. I notice
that you cannot set a priority on a schedule entry - you can only do it for
the job.

Ideally, I'd like to say something like this:

Job {
        ...
        VirtualTime = 1 month
        ...
}

Which would make bacula insert a virtual full after a month, at a convenient
time of its own choosing.
It would also solve the problem where bacula misses the virtual because it
wasn't running on that day.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>