Hi Guys,

I did as per your help and created the files per your examples thank you so 
much.

I can see the bold letering and also updated the volumes, thanks! 

Seems backups are being saved to an old volume Monthly-0006 , meaning they 
are not written to a new Daily-XXXX that is supposed to be created.

Please see my configuration:

 

Job {

  Name = "lpsoar01_job_D"

  JobDefs = "DailyJobDefs"

  FileSet = "lpsoar01_fileset"

  Schedule = "CustomCycle"

}

 

Job {

   Name = "lpsyslog01_job_D"

   JobDefs = "DailyJobDefs"

   FileSet = "lpsyslog01_fileset"

   Schedule = "CustomCycle"

}

 

 

JobDefs {

  Name = "DailyJobDefs"

  Type = Backup

  Level = Full

  Client = bareos-fd

  Schedule = "CustomCycle"   ß--------------I’ve changed this line

  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 = 1

  Label Format = Daily-

  Maximum Volumes = 7

}

 

Pool {

  Name = WeeklyFullCyclePool

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 31 days

  Maximum Volume Jobs = 100

  Label Format = Weekly-

  Maximum Volumes = 5

}

 

Pool {

  Name = MonthlyFullCyclePool

  Pool Type = Backup

  Recycle = yes

  AutoPrune = yes

  Volume Retention = 181 days

  Maximum Volume Jobs = 100

  Label Format = Monthly-

  Maximum Volumes = 6

}

 

Schedule {

  Name = CustomCycle

  Run = Level=Full Pool=DailyFullCyclePool 1st sun at 22:00            
              ßChanged this line according to my existing pool

  Run = Level=Full Pool=WeeklyFullCyclePool 2nd-5th sun at 
22:00             ß Changed this line according to my existing pool

  Run = Level=Full Pool=MonthlyFullCyclePool mon-sat at 
22:00                  ß Changed this line according to my existing pool

}

On Sunday, October 29, 2023 at 12:25:36 PM UTC+2 Yariv Hazan 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/1d9adb3d-7b6e-44e4-b61c-adb9db5fc558n%40googlegroups.com.

Reply via email to