X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fdirector%2Fdir-per-client-from-storage.erb;h=5f67f7166a6ebe4057a585c4e599308e0cb58a82;hb=825e27050780ecccd54fb81d9d8f0ce7a3395caf;hp=8a634430ecef63b06c6dac81f88180a852c87d76;hpb=4b12f0d2a6ab1166b3d0cc7412789a7279a47b62;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/director/dir-per-client-from-storage.erb b/modules/bacula/templates/director/dir-per-client-from-storage.erb index 8a634430e..5f67f7166 100644 --- a/modules/bacula/templates/director/dir-per-client-from-storage.erb +++ b/modules/bacula/templates/director/dir-per-client-from-storage.erb @@ -33,7 +33,7 @@ Pool { Pool Type = Backup Storage = "<%= @storage_name %>" AutoPrune = yes - Volume Retention = 100 days + Volume Retention = <%= @volume_retention_full %> Label Format = "<%= @pool_name %>-full.${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 @@ -48,7 +48,7 @@ Pool { Pool Type = Backup Storage = "<%= @storage_name %>" AutoPrune = yes - Volume Retention = 50 days + Volume Retention = <%= @volume_retention_diff %> Label Format = "<%= @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 @@ -63,7 +63,7 @@ Pool { Pool Type = Backup Storage = "<%= @storage_name %>" AutoPrune = yes - Volume Retention = 30 days + Volume Retention = <%= @volume_retention_inc %> Label Format = "<%= @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