cancel
Showing results for 
Search instead for 
Did you mean: 

symantec netbackup command to delete drive from netbackup

Arun_K
Level 6

 

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.
1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

Correct, well nbemm database.

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

 

View solution in original post

10 REPLIES 10

mph999
Level 6
Employee Accredited

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

Arun_K
Level 6

 

-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
Level 6
Employee Accredited

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 ?

Arun_K
Level 6

nbemmcmd

mph999
Level 6
Employee Accredited

Correct, well nbemm database.

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

 

Arun_K
Level 6

emm database.

 

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

mph999
Level 6
Employee Accredited

Correct.

See, you worked all that out by yourself.

M

Arun_K
Level 6

Thanks Martin.

mph999
Level 6
Employee Accredited

No problem

Sathish_Kumar_R
Level 3
Certified

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