I'm having issues with "Always incremental" job.
When bareos tries to consolidate backups into new full backup, I get error:
No Next Pool specification found in Pool "Consolidated".
I do not need longterm pool, - I'm okay with just Consolidated pool.
What I'm doing wrong?
Pool configuration:
#
Pool {
Name = Incremental
Pool Type = Backup
Recycle = yes
Auto Prune = yes
Volume Retention = 10 days
Maximum Volume Bytes = 5G
Maximum Volumes = 255
Label Format = "Incremental-"
Storage = StorageInc
Next Pool = Consolidated
}
Pool {
Name = Consolidated
Pool Type = Backup
Recycle = yes
Auto Prune = yes
Volume Retention = 50 days
Volume Use Duration = 23h.
Maximum Volume Bytes = 5G
Maximum Volumes = 500
Label Format = "Consolidated-"
Storage = StorageConsolidated
}
Thank you for your help.
CLNT.conf:
Job {
Name = "CLNT_root"
Client = "CLNT"
JobDefs = "root_cons"
FileSet = "root_CLNT"
Always Incremental = yes
Accurate = yes
AlwaysIncrementalJobRetention = 6 days
AlwaysIncrementalMaxFullAge = 38 days
Pool = Incremental
Full Backup Pool = Consolidated
}
Consolidate.conf:
Job {
Enabled=yes
Name = "consolidate"
Type = "Consolidate"
JobDefs = "root_cons"
Accurate = "yes"
Client = "CLNT"
Fileset = "root"
}
jobDefs.conf:
JobDefs {
Name = "root_cons"
Type = Backup
FileSet = "root"
Schedule = "WeeklyCycleCons"
Messages = Standard
Priority = 8
Write Bootstrap = "/var/lib/bareos/%c.bsr"
Reschedule On Error = yes
Reschedule Interval = 45minutes
Reschedule Times = 3
Rerun Failed Levels = yes
Level = Incremental
Pool = Consolidated
Storage = File
}
but won't this setting make all consolidations go into incremental volumes?
What I've tried to to is to make daily backups to land into Incremental volumes and all consolidations (even full consolidations) to be written into Consolidated volumes.