Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for Hyper-V Administrator's Guide
  3. Appendix C. NetBackup commands to back up and restore Hyper-V virtual machines
  4. Notes on troubleshooting the nbrestorevm command for Hyper-V
NetBackup™ for Hyper-V Administrator's Guide

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

2821, Hyper-V policy restore error

The VM already exists at the restore location.

On nbrestorevm, include the -O option to overwrite the existing VM.

23, socket read failed

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.

135, client is not validated to perform the requested operation

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 Additional servers list. Select Hosts > Host properties > select the primary server > Servers.

144, invalid command usage

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.

190, found no images or media matching the selection criteria

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 Primary VM identifier 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.

Feedback

Was this page helpful?
Previous

The nbrestorevm -R rename file for Hyper-V

Next

Logs for troubleshooting the nbrestorevm command

Feedback

Was this page helpful?