Bacula-users

Re: [Bacula-users] How to force a full backup?

2009-03-05 15:54:11
Subject: Re: [Bacula-users] How to force a full backup?
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Thu, 5 Mar 2009 12:49:41 -0800
Funny you say that. Yes, your version is shorted and will work. I 
actually used to have it that way.

The reason I changed to the longer version is that now the schedule file 
is generated by a script, it's basically a simple for loop that 
generates it. One thing this lets me do is easily generate different 
scheduled so that the full backups are staggered for different clients, 
and the differentials always happen 7 days after the fulls.

John Lockard wrote:
> As a side note, I'm pretty sure you could shorten this definition to:
>
> Schedule {
>    Name = Schedule-apache
>    Run = Level=Full Storage=Disk3-apache on 1,16 at 19:05
>    Run = Level=Differential Storage=Disk3-apache on 8,23 at 19:05
>    Run = Level=Incremental Storage=Disk3-apache on 2-7,9-15,17-22,24-31 at 
> 19:05
>  }
>
>
> On Tue, Mar 03, 2009 at 01:15:18AM -0800, Kevin Keane wrote:
>   
>> I have a schedule that dictates a full backup on the 1st and 16th of the 
>> month, differentials on the 8th and 23rd, and incrementals the remaining 
>> days.
>>
>> Yesterday, the full backup for one of my clients failed due to a lost 
>> network connection. I notice that bacula now blindly does an incremental 
>> backup anyway. How can I get bacula to automatically retry a full backup 
>> on the 2nd of the month if it failed on the 1st?
>>
>> Thanks!
>>
>> Here is my schedule resource:
>>
>> Schedule {
>>   Name = Schedule-apache
>>   Run = Level=Full Storage=Disk3-apache on 1 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 2 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 3 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 4 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 5 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 6 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 7 at 19:05
>>   Run = Level=Differential Storage=Disk3-apache on 8 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 9 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 10 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 11 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 12 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 13 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 14 at 19:05
>>   Run = Level=Incremental Storage=Disk3-apache on 15 at 19:05
>>   Run = Level=Full Storage=Disk2-apache on 16 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 17 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 18 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 19 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 20 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 21 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 22 at 19:05
>>   Run = Level=Differential Storage=Disk2-apache on 23 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 24 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 25 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 26 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 27 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 28 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 29 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 30 at 19:05
>>   Run = Level=Incremental Storage=Disk2-apache on 31 at 19:05
>> }
>>
>> -- 
>> Kevin Keane
>> Owner
>> The NetTech
>> Find the Uncommon: Expert Solutions for a Network You Never Have to Think 
>> About
>>
>> Office: 866-642-7116
>> http://www.4nettech.com
>>
>> This e-mail and attachments, if any, may contain confidential and/or 
>> proprietary information. Please be advised that the unauthorized use or 
>> disclosure of the information is strictly prohibited. The information herein 
>> is intended only for use by the intended recipient(s) named above. If you 
>> have received this transmission in error, please notify the sender 
>> immediately and permanently delete the e-mail and any copies, printouts or 
>> attachments thereof.
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-user


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users