keep volumes for full backups only 3 months instead of 4
authorPeter Palfrader <peter@palfrader.org>
Sat, 5 Mar 2016 17:01:33 +0000 (18:01 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 5 Mar 2016 17:01:33 +0000 (18:01 +0100)
modules/bacula/templates/per-client.conf.erb

index ccfe476..32b440d 100644 (file)
@@ -29,9 +29,9 @@ Client {
   FDPort = <%= bacula_client_port %>
   Catalog = MyCatalog
   Password = "<%= bacula_client_secret %>"
   FDPort = <%= bacula_client_port %>
   Catalog = MyCatalog
   Password = "<%= bacula_client_secret %>"
-  File Retention = 50 days            # a bit under 2 months
-  Job Retention = 4 months            # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
+  File Retention = 30 days
+  Job Retention = 3 months
+  AutoPrune = yes
 
   Heartbeat Interval = 180
 
 
   Heartbeat Interval = 180
 
@@ -72,7 +72,7 @@ Pool {
   Pool Type = Backup
   Storage = "<%=bacula_filestor_name%>-<%= client %>"
   AutoPrune = yes
   Pool Type = Backup
   Storage = "<%=bacula_filestor_name%>-<%= client %>"
   AutoPrune = yes
-  Volume Retention = 4 months
+  Volume Retention = 3 months
   Label Format = "<%= bacula_pool_name %>-full-<%= client %>.${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
   Label Format = "<%= bacula_pool_name %>-full-<%= client %>.${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