Last try to configure retention on disk 😊
Using version default 22.1.1 installation.
I would like to have 12 rotating backups per hour.
So, 12 volumes should be created and then rotated so I will not run out of disk space.
Went over documentation a few times but does not seem to work.
Only one volume is created, and backups are written to volume indefinitely.
Thanks in advance for any help you can provide🙏.
Please see configuration below:
Job {
Name = "_testBackup_D_job"
JobDefs = "H_D_JobDefs"
FileSet = "_testBackup_fileset"
Schedule = "D_H_cycle"
}
Schedule {
Name = "D_H_cycle"
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:00
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:05
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:10
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:15
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:20
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:25
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:30
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:35
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:40
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:45
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:50
Run = Level=Full Pool=Every10MinPool FullPool=Every10MinPool hourly at 0:55
}
Pool {
Name = Every10MinPool
Pool Type = Backup
AutoPrune = yes
Volume Use Duration = 5m
Label Format = "5Min-"
Maximum Volumes = 12
# Use Volume Once = yes
VolumeRetention = 1h
Recycle = yes
Maximum Volume Jobs = 1
Action On Purge = Truncate
Maximum Volume Bytes = 3G
}
11-Dec 13:35 bareos-sd JobId 1044: Job _testBackup_D_job.2023-12-11_13.35.00_52 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/var/lib/bareos/storage)
Pool: Every10MinPool
Media type: File
What am I doing wrong that volumes are not reused?
Thanks,
Yariv