Thank you!
To simplify (for me L ) please look on the daily only. Per configuration below I do 6 backups for a week. My retention is on the pool level (Volume Retention = 7 days) right? On what level it should be? Or how I should define it in the pool level that I’m not doing correctly now? Thanks, Yariv On Sunday, October 29, 2023 at 1:46:16 PM UTC+2 Miguel Santos wrote: > You need 3 different pools to do this. > > One that keeps your: > - 6 daily backups for a week > - 4 weekly backups for a month > - 6 monthly backups for 6 months. > > From there you can decide to either: > * create different jobs to write to different pools (simpler) > * make a migration/copy of the data to the pool (a bit more complicated) > > It will not work with your current configuration because the retention > works at the pool level. > > Good luck. > > On Sun, Oct 29, 2023 at 11:25 AM Yariv Hazan <yar...@gmail.com> wrote: > >> Hello, >> My retention is pretty simple(?) I have only full backups and I need to >> keep backups for >> Last 6 daily backups for a week >> Last 4 weekly backups for a month >> Last 6 monthly backups for 6 months. >> >> But: >> 1. All backups are kept for much longer without being pruned. >> 2. A daily backup volume is created every day but older daily backup >> volume are used instead. >> >> I run version 22.1.1~pre26.eeec2501e without any changes to defaults. >> >> Here is an examples of my configuration: >> >> Job { >> Name = "lpsoar01_job_D" >> JobDefs = "DailyJobDefs" >> FileSet = "lpsoar01_fileset" >> Schedule = "DailyFullCycle" >> } >> >> JobDefs { >> Name = "DailyJobDefs" >> Type = Backup >> Level = Full >> Client = bareos-fd >> Schedule = "DailyFullCycle" >> Storage = File >> Messages = Standard >> Pool = DailyFullCyclePool >> Priority = 10 >> Write Bootstrap = "/var/lib/bareos/%c.bsr" >> Full Backup Pool = DailyFullCyclePool # write Full >> Backups into "Full-Pool" Pool >> Differential Backup Pool = Differential # write Diff Backups into >> "Differential" Pool >> Incremental Backup Pool = Incremental # write Incr Backups into >> "Incremental" Pool >> } >> >> Pool { >> Name = DailyFullCyclePool >> Pool Type = Backup >> Recycle = yes >> AutoPrune = yes >> Volume Retention = 7 days >> Maximum Volume Jobs = 100 >> Label Format = Daily- >> Maximum Volumes = 40 >> } >> >> What am I doing wrong here? >> Thanks, >> Yariv >> >> >> >> >> >> >> >> -- >> 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 bareos-users...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/bareos-users/b1913656-a493-4671-bb44-f6aaf325806cn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/bareos-users/b1913656-a493-4671-bb44-f6aaf325806cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/afb242e1-26cf-45eb-aa77-101c9ab96bb3n%40googlegroups.com.