From: Mantis B. T. <no...@bu...> - 2013-04-24 13:01:11
|
The following issue has been SUBMITTED. ====================================================================== http://bugs.bacula.org/view.php?id=2000 ====================================================================== Reported By: ensc Assigned To: ====================================================================== Project: bacula Issue ID: 2000 Category: Director Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-04-24 14:01 BST Last Modified: 2013-04-24 14:01 BST ====================================================================== Summary: Volumes are not taken from Scratch Pool Description: In the setup below, I expect that: 1. old volumes are moved into _recycle-incremental.newport.e 2. when new volumes are required, they are taken from _recycle-incremental.newport.e Unfortunately, only point 1. applies and the recycle pool grows and grows. When 'incremental.newport.e' needs a new volume, a new one will be created but not taken from the scratch pool. I use this setup because I want to limit the total number of volumes. E.g. I am using disk based volumes and there can be created more than one volume per backup in rare situations. With a traditional setup (no recycle/scratch) pool, the normal pool would get more and more volumes which are difficultly to distinguish. With the pool -> recycle -> pool setup, I wanted to move old volumes to the _recycle pool and clean up the recycle pool from time to time manually. -------------------- Pool { Name = "incremental.newport.e" Pool Type = Backup Storage = "storage-newport.e" Recycle = yes AutoPrune = yes Label Format = "INC-" Volume Use Duration = 23 hours Volume Retention = 1 month Action On Purge = Truncate Scratch Pool = "_recycle-incremental.newport.e" Recycle Pool = "_recycle-incremental.newport.e" #Recycle Pool = "incremental.newport.e" } Pool { Name = "_recycle-incremental.newport.e" Pool Type = Backup Storage = "storage-newport.e" Recycle = yes AutoPrune = yes Action On Purge = Truncate Purge Oldest Volume = yes Volume Use Duration = 1 hour Volume Retention = 1 hour } -------------------- Additional Information: llist media pool=_recycle-incremental.newport.e MediaId: 417 VolumeName: INC-0417 Slot: 0 PoolId: 119 MediaType: File FirstWritten: 2012-11-12 00:02:18 LastWritten: 2012-11-12 00:03:16 LabelDate: 2012-11-12 00:02:18 VolJobs: 4 VolFiles: 0 VolBlocks: 99 VolMounts: 2 VolBytes: 6144506 VolErrors: 0 VolWrites: 100 VolCapacityBytes: 0 VolStatus: Purged Enabled: 1 Recycle: 1 VolRetention: 2592000 VolUseDuration: 82800 MaxVolJobs: 0 MaxVolFiles: 0 MaxVolBytes: 0 InChanger: 0 EndFile: 0 EndBlock: 6144505 VolParts: 0 LabelType: 0 StorageId: 8 DeviceId: 0 LocationId: 0 RecycleCount: 0 InitialWrite: 0 ScratchPoolId: 0 RecyclePoolId: 119 Comment: NULL ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-04-24 14:01 ensc New Issue ====================================================================== |