cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup 7.5

Sivasba
Level 2
Partner

Hi,

 

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.

 

Siva

1 ACCEPTED SOLUTION

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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..

 

**EDIT**

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

https://www-secure.symantec.com/connect/blogs/how-expire-backup-images-move-media-scratch-pool

hope this helps.. 

View solution in original post

4 REPLIES 4

Andy_Welburn
Level 6

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.

***EDIT***

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

Yogesh9881
Level 6
Accredited

Hi,

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

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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..

 

**EDIT**

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

https://www-secure.symantec.com/connect/blogs/how-expire-backup-images-move-media-scratch-pool

hope this helps.. 

Sivasba
Level 2
Partner

Hi nagalla

 

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