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 VMware Administrator's Guide
  3. Restore virtual machines
  4. Restoring VMware virtual machine disks by using NetBackup commands
  5. Creating the VMware virtual machine disk restore file
NetBackup™ for VMware Administrator's Guide

Creating the VMware virtual machine disk restore file

This topic describes how to use the NetBackup nbrestorevm command to create the text file that describes the virtual machine disk restore parameters. The file uses the JavaScript Object Notation (JSON) format to describe the restore parameters. Two methods exist to specify the backup that is used to create the restore parameters file, as follows:

Specify a backup image ID

See To create the VMware virtual machine disk restore file by specifying a backup ID .

A separate procedure describes how to determine the backup ID.

See Determining the backup image ID from which to restore a VMware virtual machine disk.

Specify a date range

If you specify a date range, NetBackup uses the most recent backup in that date range.

See To create the VMware virtual machine disk restore file by specifying a date range.

This task is part of a larger process that describes how to restore an individual VMware virtual machine disk or disks.

See Restoring VMware virtual machine disks by using NetBackup commands.

To create the VMware virtual machine disk restore file by specifying a backup ID

  1. Create the file that describes the virtual machine disk or disks that you want to restore by specifying a backup ID, as follows:

    On Windows: install_path\NetBackup\bin\nbrestorevm -vmw -C vm_client -S primary_server -backupid value -restorespecout filename

    On UNIX: /usr/openv/netbackup/bin/brestorevm -vmw -C vm_client -S primary_server -backupid value -restorespecout filename

    • The -backupid value option and argument specifies the backup image from which to create the file.

    • The -restorespecout filename option and argument specifies the name of the file.

      By default, nbrestorevm creates the file in the current working directory. To create the file in a different directory, specify a pathname for the filename.

  2. Continue to the next task in the individual virtual machine disk restore process.

    See Modifying the virtual machine disk restore file.

To create the VMware virtual machine disk restore file by specifying a date range

  1. Create the file that describes the virtual machine disk or disks that you want to restore by specifying a date range, as follows:

    On Windows: install_path\NetBackup\bin\nbrestorevm -vmw -C vm_client -S primary_server -s mm/dd/yyyy hh:mm:ss -e mm/dd/yyyy hh:mm:ss -restorespecout filename

    On UNIX: /usr/openv/netbackup/bin/nbrestorevm -vmw -C vm_client -S primary_server -s mm/dd/yyyy hh:mm:ss -e mm/dd/yyyy hh:mm:ss -restorespecout filename

    • The hh:mm:ss for the start date and the end date are optional.

    • The -restorespecout filename option and argument specifies the name of the file.

      By default, nbrestorevm creates the file in the current working directory. To create the file in a different directory, specify a pathname for the filename.

  2. Continue to the next task in the individual virtual machine disk restore process.

    See Modifying the virtual machine disk restore file.

Feedback

Was this page helpful?
Previous

Determining the backup image ID from which to restore a VMware virtual machine disk

Next

Modifying the virtual machine disk restore file

Feedback

Was this page helpful?