hi, I got a problem with automatic tape status change, which does not work. Tapes always got status "Append", even when their retention period is exceeded.
I use a Disk/Tape scheme with Bacula 5.0.2. I change tapes weekly in a Single Drive HP StorageWorks Ultrium 1760 LTO4. Copy to tape runs every night after backup to disk. One problem I haven't solved so far is automatic tape pruning. On the Tape pool I have set Volume Use Duration = 13 days Volume Retention = 14 days RecycleOldestVolume=no But the Tapes are still always on "Append" state. So I must relabel the tape manually after change to get them pruned. List of my current tapes: N Status Bytes Max Jobs Retention Type First Last M2 Append 311.2 GB 0 27 14 LTO-4 2010-07-29 11:26:24 2010-08-04 04:10:40 M3 Append 505.5 GB 0 28 14 LTO-4 2010-08-26 17:56:15 2010-09-01 04:16:51 M4 Append 494.3 GB 0 29 14 LTO-4 2010-09-30 10:37:44 2010-10-06 06:18:07 M5 Append 264.6 GB 0 28 14 LTO-4 2010-04-30 04:00:02 2010-05-05 04:18:39 M6 Append 352.2 GB 0 13 14 LTO-4 2010-06-01 18:37:16 2010-06-02 09:19:17 W1 Append 502.8 GB 0 28 14 LTO-4 2010-08-20 04:00:02 2010-08-25 04:20:50 W2 Append 506.4 GB 0 28 14 LTO-4 2010-09-02 18:07:38 2010-09-08 04:17:16 W3 Append 507.1 GB 0 28 14 LTO-4 2010-09-10 06:00:03 2010-09-15 06:16:24 W4 Append 511.8 GB 0 28 14 LTO-4 2010-09-16 14:22:26 2010-09-22 06:17:27 W5 Append 534.3 GB 0 29 14 LTO-4 2010-09-23 06:00:02 2010-09-29 06:16:33 How could I change my configuration so that bacula automatically prunes tapes older 14 days on next insert? Here is an excerpt of my config files: --- POOLS --- # Default B2D pool definition Pool { Name = Default Pool Type = Backup Storage = File Recycle = yes AutoPrune = yes Volume Retention = 14 days LabelFormat = b2d- Maximum Volume Bytes = 50G # Duplicate: Next pool to use if running copy jobs NextPool = Tape } # LTO-4 Tape pool definition Pool { Name = Tape Pool Type = Backup Recycle = yes AutoPrune = yes Volume Use Duration = 13 days Volume Retention = 14 days RecycleOldestVolume=no #Recycle Current Volume = yes # enable this if autorecycle doesnt work. ro LabelFormat = autolabel- Storage = LTO-4 } -- JOBDEFS -- JobDefs { Name = client1 Type = Backup Level = Incremental Client = client1-fd FileSet = client1-files Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Priority = 1 Write Bootstrap = "/var/lib/bacula/%c.bsr" } JobDefs { Name = CopyDiskToTape Type = Copy Messages = Standard Client = None FileSet = None Selection Type = PoolUncopiedJobs Maximum Concurrent Jobs = 10 SpoolData = No Allow Duplicate Jobs = Yes Allow Higher Duplicates = No Cancel Queued Duplicates = No Cancel Running Duplicates = No Priority = 100 } -- JOBS -- # client1 Job { Name = "client1-job" JobDefs = "client1-files" } # Duplicate to tape Job { Name = "CopyDiskToTapeFullBackups" Enabled = Yes Schedule = DaySchedule6:00 Pool = Default JobDefs = CopyDiskToTape } -- CLIENTS -- Client { Name = client1-fd Address = client1 FDPort = 9102 Catalog = MyCatalog Password = XXXXXX AutoPrune = yes } Thanks for your help! Robert ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users