05-25-2011 02:00 AM
Hi,
Is there any command to erase media directly without caring for images expire( if data not required). I didn't find any command, So decided to expire images and erase media by using command bpexpdate, but it is also throwing error message.
Error message 'requested media id is not assigned to this host in the emm database'.
command syntax used: ./bpexpdate -d 0 -m <media-id> or ./bpexpdate -d 0 -m <media-id> -host <media-server-name>
05-25-2011 02:43 AM
In GUI, it works, if select and clik on 'quick erase' on specific media
05-25-2011 02:56 AM
Is the media in question listed in the output of bpmedialist?
You don't have to erase media in NetBackup, unless you specifically want to destroy the content on tape for security reasons. Once a media is expired with bpexpdate its "clean/erased" from a netbackup point of view. Or at least, its available for use by the next backup run. The data is however still on the tape and will be overwritten once the next backup runs.
05-25-2011 04:59 AM
Hi Ravi,
The media you are trying to expire, must be in unassigned state; which means that media is not assigned to any backup image.
bpexpdate - Expires particular backup image from image catalog, or it expires the whole media from catalog (removes from EMM database) It doesnt erases the data thats in the tape. In next backup run, NetBackup sees the tape as new volume and overwrites backup on it.
Command to erase the data in the tape
bplabel -erase -l -m <media_ID> -d <density> -p <Volume_pool> -host media_server
05-26-2011 04:45 AM
I tried with above command, but it throws the syntax. it tried with combination of options. Below is the one which i tried.
./bplabel -erase -l -m 0737l4 -d hcart -o -p test -n IBM.UTL3580-TD4.000 -u 1 -h btcfps003
05-26-2011 09:34 AM