Bacula-users

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

2010-11-23 17:19:55
Subject: Re: [Bacula-users] Bacula and automatic labelling of volumes
From: Paulo Martinez <martinezino AT googlemail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 23 Nov 2010 23:17:12 +0100
Am 23.11.2010 um 19:53 schrieb Thomas Schweikle:
> Hi!
>
> I have set up bacula with automatic labelling of volumes:
>
> In bacula-dir.conf:
> Storage {
>  Name = File
>  Address = bacula
>  SDPort = 9103
>  Password = "...."
>  Device = FileStorage
>  Media Type = File
> }
>
> Pool {
>  Name = File
>  Pool Type = Backup
>  Recycle = yes
>  recycle Volumes
>  AutoPrune = yes
>  Volume Retention = 10 days
>  Maximum Volume Bytes = 4G
>  Maximum Volume Jobs = 1
>  Maximum Volumes = 100
>  LabelFormat = "T${JobName}"
> }
>
> In bacula-sd.conf:
> Device {
>  Name = FileStorage
>  Media Type = File
>  Archive Device = /srv/bacula
>  LabelMedia = yes;
>  Random Access = Yes;
>  AutomaticMount = yes;
>  RemovableMedia = no;
>  AlwaysOpen = no;
> }
>
> Automatic creation of volumes then labelling them fails. Bacula
> hangs waiting for operator intervention --- this is not what I
> expected it to do. I'd like to have:
>
> - Start a job,
> - look for an empty volume, if none there, create one, than label it
> - push it into the pool, mount it.
> - backup the jobs data.
> - after finishing keep the volume with this one job arround
> - delete it when retention time has come and there is
>  not enough space for a new volume.
>
> After reading the fine manual , goggling around, not finding
> anything helpful: does anyone have a setup doing what I expect mine
> to do, running and is willing to share?
>
> I'd appreciate any help!


Hi Thomas, i have the same configuration and it is doing the automatic  
labeling (Media Type = File).

What about this "recycle Volumes"-line in your Pool definition ?

PM






------------------------------------------------------------------------------
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