Always Incremental Backups: Recycling and Disk Space

36 views
Skip to first unread message

Ralf Schulze

unread,
Jan 15, 2024, 10:16:39 AMJan 15
to bareos-users
Hello folks,

I'm using Bareos Always Incremental Scheme with the settings:

Job {
  ...
  Pool = "aincr30d"
  FullBackupPool = "aicons30d"
  Accurate = Yes
  AlwaysIncremental = Yes
  AlwaysIncrementalJobRetention = 1 months
}

Pool {
  Name = "aicons30d"
  LabelFormat = "aicons30d-"
  MaximumVolumeJobs = 1
  MaximumVolumeBytes = 50 g
  VolumeRetention = 1 months 1 weeks 3 days
  VolumeUseDuration = 23 hours
  Storage = "File"
  AutoPrune = No
  Recycle = No
}

After the 1 months daily incremental backups the daily consolitation started. Each day a Virtual Full backup job was created.
But the Virtual Full is each day a Full size backup, so the disk space is getting lower and lower.
Will the option "Always Incremental Max Full Age" (for example with the setting '1 months 1 day') solve this problem? Only a virtual full backup after the specified time period? And will the initial full backup also be released for deletion?

Thanks Ralf

Philipp Storz

unread,
Jan 16, 2024, 10:30:47 AMJan 16
to bareos...@googlegroups.com
Am 15.01.24 um 16:16 schrieb Ralf Schulze:
> Hello folks,
>
> I'm using Bareos Always Incremental Scheme with the settings:
>
> Job {
>   ...
>   Pool = "aincr30d"
>   FullBackupPool = "aicons30d"
>   Accurate = Yes
>   AlwaysIncremental = Yes
>   AlwaysIncrementalJobRetention = 1 months
> }
>
> Pool {
>   Name = "aicons30d"
>   LabelFormat = "aicons30d-"
>   MaximumVolumeJobs = 1
>   MaximumVolumeBytes = 50 g
>   VolumeRetention = 1 months 1 weeks 3 days
>   VolumeUseDuration = 23 hours
>   Storage = "File"
>   AutoPrune = No
>   Recycle = No
> }
>
> After the 1 months daily incremental backups the daily consolitation started. Each day a Virtual
> Full backup job was created.
> But the Virtual Full is each day a Full size backup, so the disk space is getting lower and lower.

This is exactly what is expected.
Please read the documentation describing it and how the "max full age" can solve the problem:

https://docs.bareos.org/TasksAndConcepts/AlwaysIncrementalBackupScheme.html#enhancements-for-the-always-incremental-backup-scheme

You also need to make sure that you use a new volume every day ("volume use duration"), so that jobs
being removed from the database also will lead to media being recycled.

> Will the option "Always Incremental Max Full Age" (for example with the setting '1 months 1 day')
> solve this problem? Only a virtual full backup after the specified time period? And will the initial
> full backup also be released for deletion?
>
> Thanks Ralf
>
> --
> 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 <mailto:bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/c015711b-87c8-4d13-953e-40ea7751ddc0n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/c015711b-87c8-4d13-953e-40ea7751ddc0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Mit freundlichen Grüßen

Philipp Storz philip...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, J. Steffens, P. Storz

Reply all
Reply to author
Forward
0 new messages