From 097c966c4820fa3143d0d328a14ce9e60ec819e7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 17 Aug 2012 12:04:35 +0200 Subject: [PATCH] Get rid of per-client volumes. It does not work correctly --- modules/bacula/templates/bacula-dir.conf.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index f7f2b8ddd..27ff8efba 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -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 } -- 2.20.1