I'm having issues with bareos recycling volumes. Basically, its not. I have
volumes in the expired state, but they are never recycled, for reasons which
are not clear to me.
I have 3 Disk pools, and 3 tape pools, for Incremental, Differential, and Full,
which look thusly (only one reproduced here)
Pool {
Name = DiskFull
Pool Type = Backup
Recycle = yes
Auto Prune = yes
Volume Retention = 60 days
Maximum Volume Bytes = 20G
Maximum Volumes = 15
Label Format = "DiskFull-"
Action On Purge = Truncate
Recycle Pool = DiskFull
Next Pool = TapeFull
Migration Time = 2 minutes
}
Pool {
Name = TapeFull
Pool Type = Backup
Recycle = yes
Auto Prune = yes
Volume Retention = 181 days
Action On Purge = Truncate
Maximum Volume Bytes = 75G
Maximum Volumes = 15
Storage = STK-L700
}
I have the standard WeeklyCycle, and after each backup to the disk pool, the
migrate job runs to migrate the job from the disk pool to the tape pool several
hours later, with the following job:
Job {
Name = "MigrateDiskFullToTape"
Type = Migrate
Level = Full
Pool = DiskFull
Storage = File
Messages = Standard
Schedule = "MonthlyMigrateFullToTape"
Selection Type = PoolTime
SpoolData = no
Priority = 20
Purge Migration Job = yes
}
# Full Migration Schedule, 1st Sunday at 04:05
Schedule {
Name = "MonthlyMigrateFullToTape"
Run = Full 1st sun at 04:05
}
Jobs are successfully migrated, but somehow volumes are never recycled, witness
the following volume (extracted from list volumes pool=TapeFull)
E01014L4 Full 2016-06-05 12:28:27
This has jobs on it which expired long ago; the volume should be marked for
recycling, but isn't.
What have I missed ?
--
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.