From f25d299bc65544b47e1eab5494139761ebbfcc46 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 16 Aug 2012 16:23:18 +0200 Subject: [PATCH] Use filenames that reveal which pool a file belongs to --- modules/bacula/templates/bacula-dir.conf.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index 34d6c99d4..f4e41daa2 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -179,7 +179,7 @@ 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}" + 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 %>" Volume Use Duration = 23h Maximum Volume Jobs = 1 Maximum Volume Bytes = 50G @@ -192,7 +192,7 @@ 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}" + 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" Volume Use Duration = 23h Maximum Volume Jobs = 1 Maximum Volume Bytes = 50G @@ -205,7 +205,7 @@ 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}" + 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" Volume Use Duration = 23h Maximum Volume Jobs = 1 Maximum Volume Bytes = 50G -- 2.20.1