Forum Discussion

Genericus's avatar
Genericus
Moderator
6 years ago

clear/reset return date of scratch tapes from Iron Mountain vault

I started a vault, and realized I had an issue, so I killed the vault.

I ran an inventory to ensure NetBackup knew what tapes were where, and restarted the vault.

The initial vault had set a "Return Date" value in the returning scratch tapes, and the vault picking list from the second run did not include those tapes. I am pretty sure these tapes will never come back.

I have 49 tapes with 9:06 time and 2 with 9:13, those two were the ones on the vault picking list.

How do I reset or clear out that "Return Date" value so tomorrow vault will recall those tapes? 

2 Replies

    • Genericus's avatar
      Genericus
      Moderator

      for i in EACH MEDIA NEEDED TO CHANGE

      do

      echo $i

      vltoffsitemedia -change -m $i -vltreturn 0

      done

      Worked like a champ, adding to my list of cool commands.

       

      Edited - removing too much information prevents it from coming back! 

      -vltname "" -vltsession 0 -vltslot 0 -vltsent 0 -vltreturn 0