Hi,

25.02.2008 18:09, Gert Burger wrote:
> Arno Lehmann wrote:
>> In theory, yes... I never tried it, though.
>>
>> I'd use a run before job script to do the mounting, and a run after 
>> job script for unmounting. If mounting fails, the job will - 
>> preferrably - not be run.
>>
>> In any case, you'll probably want to use automatic labeling together 
>> with a limitation of the volume size and number in your pools.
>>
>> Arno
>>
>>
>>   
> Thanks for your response.
> 
> Can you please elaborate on 'automatic labeling', i believe i'm a bit 
> confused on the practical configuration aspects of that.

Sure...

Basically, you probably want Bacula to create volumes as needed, but 
not to exceed the available disk space.

So, you set up automatic labeling (including a label format directive 
in the pools setup) and this covers the first part of the requirements.

As Bacula does not recycle volumes or purge jobs unless really needed, 
you have to limit the number volumes that can exist, otherwise Bacula 
will always try to create a new volume and not re-use existing ones. 
To achieve this, you set the maximum number of volumes per pool and 
their maximum size to limit how much space they can take. With a good 
estimate on the space needed for full, differential, and incremental 
jobs, you won't have to tweak anything for Bacula to first create all 
the volumes you'll need, and then automatically recycle them when needed.

> My pool is setup to 1 job per volume with pruning etc.
> I will attempt the run before/after to actually fsck/mount the drive, 
> then I must probably set the 'Removable = No' as i believe that is 
> causing the labeling requests.

I don't have any recent experience with removable volumes plus 
automatic mounting, so I better leave this part of your questions to 
others to comment...

Arno


-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to