Hi, Relating to my previous message about auto-pruning we have run in the same problem again today doing some testing. I can only conclude there is a bug in the volume update mechanism:
Ran a test backup on volume with status 'Used' but for which retention time has expired: 13-Mar 14:18 admt-dir: Pruned 2 Jobs on Volume "full_admt-0002" from catalog. 13-Mar 14:18 admt-sd: test_backup.2006-03-13_14.18.36 Warning: Director wanted Volume "full_admt-0017". Current Volume "full_admt-0002" not acceptable because: 1998 Volume "full_admt-0002" status is Used, but should be Append, Purged or Recycle (cannot automatically recycle current volume, as it still contains unpruned data). 13-Mar 14:18 admt-sd: Please mount Volume "full_admt-0017" on Storage Device "DDS-5" (/dev/nst0) for Job test_backup.2006-03-13_14.18.36 According to bacula it *did* correctly prune the only two jobs located on the volume. Checking with query 'List Jobs/Files stored in a selected MediaId' afterwards gives: *no results listed Which is good. So the tape should be usuable, yet bacula issed a mount request. I then just confirmed the mount request *without* changing the tape: *mount The defined Storage resources are: 1: File 2: DDS-5 Select Storage resource (1-2): 2 Connecting to Storage daemon DDS-5 at admt:9103 ... 3001 OK mount. Device="DDS-5" (/dev/nst0) *mess 13-Mar 14:21 admt-dir: Recycled current volume "full_admt-0002" 13-Mar 14:21 admt-sd: Recycled volume "full_admt-0002" on device "DDS-5" (/dev/nst0), all previous data lost. And then bacula recycles the tape and starts the backup! This does not make any sense whatsoever??? Regards, -- Patrick Van der Veken Qtris BV ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users