Notes on troubleshooting the nbrestorevm command for Hyper-V
This topic describes NetBackup status codes relating to the nbrestorevm command for Hyper-V.
Table: NetBackup status codes on nbrestorevm and Hyper-V
NetBackup status code | Explanation and recommended action |
|---|---|
| The VM already exists at the restore location. On nbrestorevm, include the -O option to overwrite the existing VM. |
| The time span that is specified on the - w option is earlier than the time of the restore. You can use -w without time values. The nbrestorevm job waits for the restore to complete and then exits. |
| The media server or recovery host where you are running nbrestorevm is not allowed to access the NetBackup primary server. Add the media server or recovery host to the primary server's list. Select select the primary server . |
| One or more required options were omitted on nbrestorevm. For example, nbrestorevm requires either - vmhv (restore to original location) or -vmhvnew (restore to different location). See the nbrestorevm man page or the NetBackup Commands Reference Guide for more details. |
| A name or value that is supplied with nbrestorevm does not match the VM's actual name or value. The VM name as specified on nbrestorevm must match the type of name that was selected in the option of the backup policy. For example, if the VM was backed up by its VM display name, use the VM's display name on the -C option. Note: Spaces in the VM name must be represented as %20 on the nbrestorevm -C option. For example, if the VM's name is acme vm1, enter acme%20vm1 on the -C option. |