Forum Discussion

maxsven's avatar
maxsven
Level 4
12 years ago

How to expire tape data of failed/canceled jobs

Hi,

I have a very large backup job that spans multiple tapes and had to cancel it, I looked at the logs and obtained a list of the tapes it used, I need now to expire all the fragments on the tapes that it used so that I can use those tapes as scratch. As this is not a successful backup, the catalogue does not return any valid images on the tapes, I'm unable to expire the data that way.. What can I do to delete the data/fragments on those tapes and then use them as scratch?

 

we are running netbackup 7.5.0.4, windows 2008 R2.

  • requested media id is in use, cannot process request

    I got that too during testing - my tape was still in the process of being unloaded. Are backups still being written to it?

    *Additional Info***

    If the media isn't actually being used then there is a good possibility that therer are orphaned allocations associated with it.

    To show all current allocations: nbrbutil -dump

    To reset specific allocation: nbrbutil -releaseMDS allocation_key

    If nothing running could reset all: nbrbutil -releaseAll