]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Get rid of per-client volumes. It does not work correctly
authorPeter Palfrader <peter@palfrader.org>
Fri, 17 Aug 2012 10:04:35 +0000 (12:04 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 17 Aug 2012 10:04:35 +0000 (12:04 +0200)
modules/bacula/templates/bacula-dir.conf.erb

index f7f2b8dddd08456b468200e5323195696ad9d488..27ff8efba84b80c60a8806c3faa5c749090eecf8 100644 (file)
@@ -193,9 +193,9 @@ Pool {
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year
-  Label Format = "${Client}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}.<%= bacula_pool_name %>"
+  Label Format = "<%= bacula_pool_name %>.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}"
   Volume Use Duration = 23h
-  Maximum Volume Jobs = 1
+  #Maximum Volume Jobs = 1
   Maximum Volume Bytes = 50G
   Action On Purge = Truncate
 }
@@ -206,9 +206,9 @@ Pool {
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year
-  Label Format = "${Client}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}.<%= bacula_pool_name %>diff"
+  Label Format = "<%= bacula_pool_name %>diff.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}"
   Volume Use Duration = 23h
-  Maximum Volume Jobs = 1
+  #Maximum Volume Jobs = 1
   Maximum Volume Bytes = 50G
   Action On Purge = Truncate
 }
@@ -219,9 +219,9 @@ Pool {
   Recycle = no
   AutoPrune = yes
   Volume Retention = 1 year
-  Label Format = "${Client}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}.<%= bacula_pool_name %>inc"
+  Label Format = "<%= bacula_pool_name %>inc.${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}"
   Volume Use Duration = 23h
-  Maximum Volume Jobs = 1
+  #Maximum Volume Jobs = 1
   Maximum Volume Bytes = 50G
   Action On Purge = Truncate
 }