Forum Discussion

cc1702004's avatar
cc1702004
Level 4
5 years ago

nbrestorevm -R

Hello,

We need to do a VM instance recovery test for a customer. May I know for the nbrestorevm -R (rename_file).

Can anyone please share with me how to use this (rename_file) ?

(1) What file extension should this file ended with ? Can it be a txt example, RenameConf.txt..or it should end with other extension ?

(2) Where should this file be placed ? Can I placed it on any location, example C:\temp, or it should be one of the Netbackup location, example, the Netbackup log directory ?

Can someone please be kind to share with me?

Thank you

26 Replies

Replies have been turned off for this discussion
    • cc1702004's avatar
      cc1702004
      Level 4

      I did go through the options in the Netbackup VM admin guide..but not to sure of certain things return..anyway we did try to run nbrestorevm few times but failed to do the instance recovery.

      Basically customer environment have one master server (running on Windows 2008) running version 7.7.3 and a 5230 nbu appliance running NBU OS 2.7.3

      Run nbrestorevm -vmw -C tuaap181iis -ir_activate -temp_location PRD_DF_VMFS_02  -R "E:\Program Files\Veritas\Netbackup\logs\restoreinput.txt"

      Run nbrestorevm -vmw -C tuaap181iis -ir_activate -temp_location PRD_DF_VMFS_02 -R "E:\Program Files\Veritas\Netbackup\logs\tuaap181iis.txt"

      The rename file, we also tested to use only one entry to change the vmname to RES_tuaap181iis.

      We attempted nbrestorevm for VM instance recovery but so far failed in our few attempt. Struggling to get things working..we are not sure what is the problem. Is it some permission problem, if yes, where should we start to check ?

       

      12/03/2019 11:30:38 - Info bprd (pid=13924) Starting to export a backup image on the media server tuaap03msbackup
      12/03/2019 11:30:39 - Info bprd (pid=13924) Backup image has been successfully exported on the media server tuaap03msbackup
      12/03/2019 11:30:45 - Info bprd (pid=13924) Backup image has been successfully mounted on the server 10.178.130.57
      12/03/2019 11:30:45 - Info bprd (pid=13924) Starting to activate a virtual machine on the server 10.178.130.57
      12/03/2019 11:30:58 - Error bprd (pid=13924) Failed to activate a virtual machine on the server 10.178.130.57
      12/03/2019 11:30:58 - Info bprd (pid=13924) Starting to unmount a backup image on the server 10.178.130.57
      12/03/2019 11:30:58 - Info bpVMutil (pid=241539) INF - vmwareLogger: CreateVirtualMachineExAPI: SYM_VMC_ERROR: FAILED_TO_GET_DS_MOR
       

      • sdo's avatar
        sdo
        Moderator

        I googled for:

        SYM_VMC_ERROR: FAILED_TO_GET_DS_MOR

        ...and came up with:

        Virtual machine snapshots failing with Status 4239 "Failed to get datastore mor for the vmx location"

        https://www.veritas.com/support/en_US/article.100014401

        ...which says:

        Solution

        Added the Permissions for the User Account at the vSphere level