cancel
Showing results for 
Search instead for 
Did you mean: 

Best practice for deleting 1500 Images ?

Stefan_Schmid_2
Level 4
I have NetBackup client with 1500 images and I would like
to delete (expire) all 1500 images and finally remove the client from NetBackup.
I know, that one can use the function <Catalog> within
the NetBackup Administration console in order to expire images. However, doing it this
way seems to be rather slow.

Does anyone know a faster method ?


regards

Stefan

5 REPLIES 5

Stumpr2
Level 6
You can script the list of images and run them through a for loop against the bpexpdate command

zippy
Level 6
cd to /usr/openv/netbackup/db/images/whatever_hostanme
 
remove the older dated directory or directories.
 
 
 
 

Darren_Dunham
Level 6
Are you working with a Windows or a Unix backup server?

--
Darren

Stefan_Schmid_2
Level 4
Darren,

I work with NBU 5.1MP6 on Solaris 8.

Christoph_Linde
Level 5
Employee
Hi Stefan,

according to the Netbackup Commands Guide for Unix, use the following command:

bpexpdate -recalculate -d 0 -force -client <clientname>

This command will set a new expirationdate to all backup images of client <clientname>. In this special case it sets the expiration to 0, which was in the past and therfore immediatly deletes the image.

Befor doing such a mass delete, I would do a fresh backup of the catalog.

Hope this works for you.

By
Christoph