Video Screencast Help

Netbackup 7.5

Created: 12 Dec 2012 • Updated: 07 Feb 2013 | 4 comments
This issue has been solved. See solution.


I am new to netbackup 7.5.

Initially we have tested with some backups and after that normal scheduling have been started.Problem is now the tape contains the tested backup data which will not be use anymore is there any option to delete those data only from the tape.


Comments 4 CommentsJump to latest comment

RamNagalla's picture

you need to delete the images from catalog.. then you can re-use the tapes.. 

you can do that form GUI and also form Command line.

use the below command to delete all the images in the required media.

bpexpdate -M <mediaid> -d 0  

from the GUI--> Catalog ---> serach based on media id or date or policy name or client name and then right click on the images from the results list and select expire

you can see the tape id in the results to make sure you are deleting the one that you want to delete.

once you delete the images , netbackup  start writing the data on it..


you can also look in below blog for more info...

hope this helps.. 

Sivasba's picture

Hi nagalla

Hope this will help i will be in leave and will check and revert once back to office.Thanks

Yogesh9881's picture


You dont mentioned what OS on master/media server....

by running below command you can expire all test bakup media

On UNIX and Linux systems, the directory path to this command is
/usr/openv/netbackup/bin/admincmd/./bpexpdate -m 0012L4 -d 0

On Windows systems, the directory path to this command is
<install_path>\NetBackup\bin\admincmd\bpexpdate -m 0012L4 -d 0

If this post has helped you, please vote or mark as solution.

Before break-up, make sure you have a good backup.....  ;-)

Andy Welburn's picture

You need to find the backup image id(s) in question & use the bpexpdate command to expire it(them) 'immediately'.

However, if these test backups are not the only images on the media then doing this *will not* free up any space on the media.

If *all* the images on the media are essentially *trash* & no longer required then you could use the bpexpdate on the media_id itself at which point *all* images on the media will be expired & said media will then be available for writing to again.


Having just seen the two earlier posts DO NOT run the bpexpdate on specific media ids UNLESS YOU KNOW THERE ARE NO IMAGES THAT YOU STILL REQUIRE ON SAID MEDIA