Hi,

I'm having trouble getting bacula's automatic labelling working like I want it to. I have created three types of pools, inc, diff and full:

bacula-dir.conf:
------------------------------------------------------------
Pool {
  Name = Full-Pool
  Pool Type = Backup
  Recycle = yes           # automatically recycle Volumes
  AutoPrune = yes         # Prune expired volumes
  Volume Retention = 6 months
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1
#  Label Format = "Full-${Client}-"
  Label Format = Full-
  Maximum Volumes = 6
}
Pool {
  Name = Inc-Pool
  Pool Type = Backup
  Recycle = yes           # automatically recycle Volumes
  AutoPrune = yes         # Prune expired volumes
  Volume Retention = 20 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 6
#  Label Format = "Inc-${Client}-"
  Label Format = Inc-
  Maximum Volumes = 5
}
Pool {
  Name = Diff-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 40 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = Diff-
#  Label Format = "Diff-${Client}-"
  Maximum Volumes = 6
}
------------------------------------------------------------

As you can see from above I have commented out how I really wanted bacula to label the volumes. With the current config bacula will now automically label volumes "Full-0001", "Inc-0001" and so on. The problem is when I use variables like "Full-${Client}-" bacula does _not_ append the volume number, like "Full-someclient-fd-0001", only "Full-someclient-fd-". Is there perhaps a bug in the automatic labelling support when combined with variable expansions or am I doing something wrong?


--
Morten A. Middelthon
http://flipp.net/


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to