Hi everyone,

i have a question regarding 'Automatic Volume Labeling', a short 
explanation of what i'm trying to do ...

i'm responsible for a small company, the backup is done to external 
disks. There are different Pools writing
the Backup to specific disks labeling them with a syntax like:

Label Format            = 
"Pool-Weekly-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${NumVols:+1:p/4/0/r}"

which if no use able media exists is labeled on the device like 
'Pool-Weekly-2007-10-23-0001'. So far so good,
but this only happens once, means the 'Maximum Volume Bytes' is set to 
2048000000 (2GB) to ensure, it doesn't
matter where the external Disk is attached, the files are readable.
If a Backup Job requires more than one Media, the first get's labeled 
and for every new Media required during the
Backup Job, Bacula asks the Operator to label a new Media.

My only solution for this right now is to estimate how much space the 
Backup will use, and label the Volumes
before the Job runs, but as you can imagine thats annoying ...

is there anything i'm missing that this happens ?
thanks for any hint ...

kind regards
Michael Lang

the necessary configurations are :
<pool>
 Pool    {
    Name                    = "Pool-Weekly"
    Pool Type               = Backup
    Maximum Volume Bytes    = 2048000000
    AutoPrune               = yes
    Volume Retention        = 365 days
    Recycle                 = yes
    Recycle Oldest Volume   = yes
    Purge Oldest Volume     = no
    Label Format            = 
"Pool-Weekly-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${NumVols:+1:p/4/0/r}"
    Storage                 = "Storage-Weekly"
}
</pool>
<bacula-sd.conf>
Device {
  Name                  = Storage-Weekly
  Media Type            = File
  Archive Device        = /media/backup02
  LabelMedia            = yes;                 
  Random Access         = Yes;
  AutomaticMount        = yes;             
  RemovableMedia        = no;
  AlwaysOpen            = no;
} 
</bacula-sd.conf>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to