Hi, recycling only happens when no appendable Volumes are available in the Pool.
Do you have entries with volstatus "Append" in the "list volumes" output in bconsole? See also: http://doc.bareos.org/master/html/bareos-manual-main-reference.html#AutomaticVolumeRecycling Regards, Stephan On 01/10/2017 11:10 AM, [email protected] wrote: > 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 ? > -- Stephan Dühr [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-90 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz -- 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.
