Arno Lehmann wrote:
> Hi,
> 
> 19.01.2008 15:52, Dan Langille wrote:
>> Jesper Krogh wrote:
>>> Hi.
>>>
>>> I'd like to configure this simple policy:
>>>
>>> Bacula should SpoolData = No if it is doing a Full backup (even if it 
>>> has been automatically upgraded from Incremental), otherwise it should 
>>> use SpoolData = Yes.
>>>
>>> Is that possible?
...
> I think Ryan's suggestion is the way to go - use different storage 
> devices, and set these up with and without spooling. Then, define 
> which pools to use for which level in the job resource - 'incremental 
> pool' etc. and in the pool definitions, assign the storage device to 
> use. That's what I do... but I don't want the data to end up on the 
> same devices, in the end... If you want to save to disk, this is not a 
> problem, you can share a directory among many storage devices. I'm not 
> sure I'd try this with tape, though...
> 
> Arno
> 

Actually, you don't need to set up different storage devices--as I 
recall, this can make restores complicated (I don't think bacula likes 
to mix storage devices on a restore).  You can just override SpoolData 
in the Schedule if you like, like this:

Schedule {
   Name = Home
   Run = Pool=Yearly jan 1st sun at 2:10
   Run = feb-dec 1st sun at 2:10
   Run = Pool=Weekly 3rd 5th sun at 2:10
   Run = Level=Differential Pool=Weekly SpoolData=Yes 2nd 4th sun at 2:10
   Run = Level=Differential Pool=Daily SpoolData=Yes wed at 2:10
   Run = Level=Incremental Pool=Daily SpoolData=Yes mon-tue thu-sat at 2:10
}

This is an example from my bacula-dir.conf--I do annual full backups to 
a pool that never gets recycled, monthly fulls to a monthly pool with a 
retention period of 15 months, 1 or 2 fulls/month to a weekly pool 
(retention period 3 months??), etc, etc.  In this case, the Job (or 
JobDefs) specifies not to spool data, and I override it with all 
non-Full jobs in the schedule.  Has been working for me for about 2 
years. (bacula ~1.38.?? to 2.2.7)

Hope this helps,

-se

-se
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to