I recently ran out of space on my tapes.
I use NetBackup 6.5 on Windows in an NDMP test environment. Once a test is finished, I'd like to immediately delete the backup data from tape so that the space can be reused.
What I'm doing right now is that at the end of a test I get the backupids with:
bpimagelist -U -idonly -client client_IP -hoursago 90
Then I set the expiration date of each backupid to 0:
bpexpdate -backupid BACKUP_ID -d 0
Are you SURE you want to delete BACKUP_ID y/n (n)?y
So now I assumed that the space would be freed and can be reused. Can someone confirm if this is the right way to free the tape space?
However, my subsequent backups show some errors now. This one seems directly related to the tape space issue:
4/7/2009 12:11:27 PM - Error nbjm(pid=1140) NBU status: 96, EMM status: No media is available
unable to allocate new media for backup, storage unit has none available(96)
So I assume that I'm missing a step in freeing the tape space.
In one other backup I got the following error. I don't know if this error is directly connected to deleting the backup data:
4/7/2009 11:55:34 AM - started process bpbrm (4360)
4/7/2009 11:55:35 AM - connecting
4/7/2009 11:55:35 AM - connected; connect time: 00:00:00
4/7/2009 11:55:38 AM - mounting DX0037
4/7/2009 11:56:08 AM - Error bptm(pid=460) block read is not a NetBackup or Backup Exec media header, len = 0, media id DX0037, drive index 0, data is ANSI-format
4/7/2009 11:56:08 AM - Error bptm(pid=460) non NetBackup media found in drive index 0, FREEZING DX0037
Can anyone help me with that?
Regards,
Jan