Veritas NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Notes and prerequisites
- Configure NetBackup communication with VMware
- Adding NetBackup credentials for VMware
- Validating VMware virtualization server certificates in NetBackup
- Configure NetBackup policies for VMware
- VMware backup options
- Exclude Disks tab
- Configure a VMware Intelligent Policy
- Reduce the size of backups
- Back up virtual machines
- Use Accelerator to back up virtual machines
- Restore virtual machines
- Restoring the full VMware virtual machine
- Virtual Machine Recovery dialog boxes (restore to original location)
- Virtual Machine Recovery dialogs boxes (restore to alternate location)
- Restoring VMware virtual machine disks by using Backup, Archive, and Restore
- Restoring VMware virtual machine disks by using NetBackup commands
- Restoring individual VMware virtual machine files
- Browse and search virtual machines for restore
- Restore virtual machines with Instant Recovery
- Use NetBackup for vCloud Director
- Virtual machine recovery dialog boxes for vCloud Director
- Best practices and more information
- Troubleshooting
- Appendix A. NetBackup commands to back up and restore virtual machines
- Using NetBackup commands to create a VMware policy
- Appendix B. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- About configuring services for NFS on Windows 2008 and 2008 R2 (NetBackup for VMware)
- Appendix C. The Reuse VM selection query results option
- Appendix D. Backup of VMware raw devices (RDM)
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
- 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 master_server -backupid value -restorespecout filename
On UNIX: /usr/openv/netbackup/bin/brestorevm -vmw -C vm_client -S master_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.
- Continue to the next task in the individual virtual machine disk restore process.
To create the VMware virtual machine disk restore file by specifying a date range
- 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 master_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 master_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.
- Continue to the next task in the individual virtual machine disk restore process.