Thank you for the response Brock! I think I understand the basic concept 
more - so if I want 7 days of backups, I should ensure that my records in 
the catalog stay longer than that, hence I should increase my volume 
retention, job retention and file retention? I've now incorporated the 
following config for each of my pools:

Pool {
  Name = example.com
  Pool Type = Backup
  Recycle = yes
  Auto Prune = yes
  Volume Retention = 14d
  File Retention = 14d
  Job Retention = 14d
  Label Format = "example.com-"
  Volume Use Duration = 7d
  Recycle Oldest Volume = yes
  Action On Purge = truncate
  Storage = examplestorage
  Maximum Volumes = 2
}


The idea here is that I can have 14 days of records for jobs, volumes and 
files in the catalog. I have set the use duration of each volume to 7 days 
and maximumum of 2 volumes so that I can have automatic rotation of 
volumes. Do you think I am on the right track with this config?

For the second part you've suggested - I understand what the truncate on 
volume does, however I do not understand how to use it automatically. Say I 
keep 2 volumes per client as per the config I've described above. How can I 
automatically truncate the oldest volume at the end of these 14 days 
retention period for jobs, files and volumes? The script you've provided 
does not know the age of the volume unfortunately.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/4611ffda-ea63-4788-8198-00ed82dfd151%40googlegroups.com.

Reply via email to