>>>>> On Wed, 20 Oct 2010 15:34:42 -0400, Dan Langille said: > > I'm getting recycling before retention expires. Or so I think. It may be > possible that the Pools definitions are out of date, but before I run an > update command, I wanted to see if anyone saw something out of order here. > > This is the Volume before it was recycled: > > Pool: FullsFile > | mediaid | volumename | volstatus | enabled | volbytes | volfiles | > volretention | recycle | slot | inchanger | mediatype | lastwritten | > | 445 | FileAuto-0445 | Full | 1 | 5,368,691,646 | 1 | > 94,608,000 | 1 | 0 | 0 | File | 2010-04-16 08:24:59 | > > That is 3 years retention. Last written April this year > > The Volume is then recycled during the job: > > 20-Oct 20:18 kraken-sd JobId 39232: User defined maximum volume capacity > 5,368,709,120 exceeded on device "MegaFile" > (/storage/compressed/bacula/volumes). > 20-Oct 20:18 kraken-sd JobId 39232: End of medium on Volume "FileAuto-0437" > Bytes=5,368,688,857 Blocks=83,220 at 20-Oct-2010 15:18. > 20-Oct 20:18 bacula-dir JobId 39232: There are no more Jobs associated with > Volume "FileAuto-0445". Marking it purged. > 20-Oct 20:18 bacula-dir JobId 39232: All records pruned from Volume > "FileAuto-0445"; marking it "Purged" > 20-Oct 20:18 bacula-dir JobId 39232: Recycled volume "FileAuto-0445" > 20-Oct 20:18 kraken-sd JobId 39232: Recycled volume "FileAuto-0445" on device > "MegaFile" (/storage/compressed/bacula/volumes), all previous data lost. > 20-Oct 20:18 kraken-sd JobId 39232: New volume "FileAuto-0445" mounted on > device "MegaFile" (/storage/compressed/bacula/volumes) at 20-Oct-2010 15:18.
I think you might be confused about the meaning of the Volume Retention directive. It controls automatic pruning, but it doesn't prevent recycling if the volume has no jobs remaining in the catalog. The latter can happen if the Job Retention directive in the Client(s) caused pruning prior to this backup. __Martin ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users