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
From: bareos...@googlegroups.com <bareos...@googlegroups.com>
Sent: יום א 29 אוקטובר 2023 18:28
To: Digest recipients <bareos...@googlegroups.com>
Subject: [bareos-users] Digest for bareos...@googlegroups.com - 2 updates in 1 topic
Yariv Hazan <yar...@gmail.com>: Oct 29 03:25AM -0700
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 |
Miguel Santos <man...@gmail.com>: Oct 29 12:46PM +0100
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. |