Bacula-users

Re: [Bacula-users] Bacula and automatic labelling of volumes

2010-11-23 16:42:06
Subject: Re: [Bacula-users] Bacula and automatic labelling of volumes
From: Thomas Schweikle <tps AT vr-web DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 23 Nov 2010 22:37:29 +0100
Am 23.11.2010 21:50, schrieb John Drescher:
>> Which parts does bacula do, which does it not?
>>
>>>     - Start a job,
>>>     - look for an empty volume, if none there, create one, than label it
> 
> It looks here for an appendable volume. Although if all of your
> volumes are use volume once /max jobs =1 it will only find empty ones.

Does this mean bacula does not automatically create volumes as
needed if storage is "File"? Would be a nice feature. Else: is there
a way to mass create volumes? I've calculated about 70 volumes per
host I've to backup ...

>>>     - push it into the pool, mount it.
> 
> You probably already want the volume in the correct pool. There is a
> scratch pool that can pull new volumes out of into your pool but I am
> not sure that will help or do what you want.

This would be enough --- if volumes recycled are relabelled. If they
keep there label I'd have to look for a way remove labels from
volumes not used any more.

>>>     - backup the jobs data.
> 
> usually no problem if the last step succeed.
> 
>>>     - after finishing keep the volume with this one job arround
> 
> this is the default operation/

:-)

>>>     - delete it when retention time has come and there is
>>>      not enough space for a new volume.
> 
> Bacula does not delete volumes when the retention period expires or it
> runs out of space. It will purge volumes when there are no available
> volumes in the pool and one is needed at the moment for a job. If you
> want different functionality than the default you will have to script
> this.

I'd do it. But at first bacula would have to run and use volumes as
necessary. Most of the time bacula shall run without any
intervention by anyone!

-- 
Thomas




------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users