Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

symantec netbackup command to delete drive from netbackup

Created: 05 Oct 2012 • Updated: 05 Oct 2012 | 10 comments
This issue has been solved. See solution.

 

Removing a device with tpconfig just removes the drive from the NetBackup configuration of the local host that you performed the command upon, i.e. it might not entirely disappear from NetBackup.
 
 
Steps to completely removing drive 
from tpconfig, tpautoconf, vmglob and emm DB are cleaned up
 
Can somebody provide me commands to delete from this utility and the functionality of each.

Comments 10 CommentsJump to latest comment

mph999's picture

"Removing a device with tpconfig just removes the drive from the NetBackup configuration of the local host that you performed the command upon, i.e. it might not entirely disappear from NetBackup."

Wrong - because the device config is not held on the local host.

Read the manual for tpconfig, what does it say the 'delete' option does ?

There is your answer.

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Arun K's picture

 

-delete
Deletes a drive, robot, or host credentials, depending on the accompanying options.
 
tpconfig -delete -virtual_machine virtual_machine_name -vm_user_id
 
Does tpconfig also deletes from vmglob and emm DB?
 
mph999's picture

vmglob does not exist at NB 6.x or above.  The command is old, and only looks in EMM

So, you now tell me, where is the device config held ?

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

Correct, well nbemm database.

So then, if you run a tpconfig -delete command, where do you think the config is deleted from ?

 

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
SOLUTION
Arun K's picture

emm database.

 

So tpconfig is only required for deleting a drive from NBU?

mph999's picture

Correct.

See, you worked all that out by yourself.

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

No problem

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Sathish Kumar R's picture

Hi Arun,

Try this . this will helpful.

Use the " tpconfig.exe -delete -drive X " command to delete drive from Netbackup.

Example :-

 

D:\Program Files\Veritas\Volmgr\bin>tpconfig.exe -dl

Currently defined drives are:

 

        Drive Name              IBM.ULT3580-TD4.001

        Index                   0

        SCSI coordinates        MISSING_PATH:{3,0,0,0}:0007884418MISSING_PATH:{3,0,0,0}:0007884418

        Type                    hcart

        Status                  DISABLED

        SCSI Protection         SR (Global)

        Shared Access           No

        Serial Number           0007884418

 

D:\Program Files\Veritas\Volmgr\bin>tpconfig.exe -delete -drive 0