Bacula-users

[Bacula-users] Why does bacula insist on autolabeling with TestA-n?

2013-07-24 12:26:20
Subject: [Bacula-users] Why does bacula insist on autolabeling with TestA-n?
From: Barak Griffis <senor_vaquero AT glitch-cowboy DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 24 Jul 2013 11:22:21 -0500
I'm new to bacula, so take it easy on me.

bacula-sd.conf:

Device {
   Name = BacZFS_StDev1
   Media Type = BacZFS_StDev1
   Archive Device = /bacula_tank/BacZFS_StDev1
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
}
Device {
   Name = BacZFS_StDev2
   Media Type = BacZFS_StDev2
   Archive Device = /bacula_tank/BacZFS_StDev2
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
}

bacula-dir.conf:
Storage {
   Name = FStorage1
   Address = gce-sd                # N.B. Use a fully qualified name 
here
   SDPort = 9103
   Password = "xxxxxx"
   Device = BacZFS_StDev1
   Media Type = BacZFS_StDev1
}

Pool {
   Name = FPool1
   Pool Type = Backup
   Recycle = yes                       # Bacula can automatically 
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 365 days         # one year
   Maximum Volume Bytes = 10G          # Limit Volume size to something 
reasonable
   Maximum Volumes = 300               # Limit number of Volumes in Pool
   Maximum Volume Jobs = 4
   #LabelFormat = "FPool2_Vol"
   Label Format = 
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m"
   Storage = FStorage1
}
Storage {
   Name = FStorage2
   Address = gce-sd                # N.B. Use a fully qualified name 
here
   SDPort = 9103
   Password = "xxxxxx"
   Device = BacZFS_StDev2
   Media Type = BacZFS_StDev2
}

Pool {
   Name = FPool2
   Pool Type = Backup
   Recycle = yes                       # Bacula can automatically 
recycle Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 365 days         # one year
   Maximum Volume Bytes = 10G          # Limit Volume size to something 
reasonable
   Maximum Volumes = 300               # Limit number of Volumes in Pool
   Maximum Volume Jobs = 4
   #LabelFormat = "FPool2_Vol"
   Label Format = 
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m"
   Storage = FStorage2
}


For some reason, bacula insists on autolabeling with a format of 
'TestA-n' where n is the incrementing number.  Any ideas why doesn't is 
like my Label Format?

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users