NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Configuring RBAC roles for VMware administrators
- Notes and prerequisites
- VMware vSphere privileges
- Managing VMware servers
- About VMware discovery
- Add VMware servers
- Change resource limits for VMware resource types
- Configuring backup policies for VMware
- Backup options on the VMware tab
- Exclude disks tab
- Configuring a VMware Intelligent Policy
- About the Reuse VM selection query results option
- Use Accelerator to back up virtual machines
- Configuring protection plans for VMware
- Malware scan
- Instant access
- Instant rollback
- Continuous data protection
- Backing up virtual machines
- VM recovery
- VMware agentless restore
- Restoring Individual files and folders from VMware backups
- Using NetBackup to back up Cloud Director environments
- Recover VMware Cloud Director virtual machines
- Restore virtual machines with Instant Recovery
- Protecting VMs using hardware snapshots and replication
- Best practices and more information
- Troubleshooting VMware operations
- NetBackup logging for VMware
- Snapshot error encountered (status code 156)
- Appendix A. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- Appendix B. Backups of VMware raw devices (RDM)
Reactivating a restored virtual machine with Instant Recovery for VMware
If an interruption occurs during an instant recovery (such as a restart of the host or media server), the ESX connection to the media server may fail. In that case, it may be possible to re-establish the connection and return the virtual machine to the state it was in before the outage. Any transactions that occurred in the virtual machine before the outage are retained.
To reactivate a restored virtual machine
- If only one VM had been restored to the ESX host, enter the following:
nbrestorevm - ir_listvm
Find the VM Instant Recovery ID for the restored VM in the -ir_listvm output. Then enter the following:
nbrestorevm - ir_reactivate Instant Recovery ID [-force]
where instant recovery ID is the virtual machine's numeric identifier from the -ir_listvm output. -force is an optional parameter to suppress confirmation prompts.
The ir_reactivate option remounts the NetBackup NFS datastore. From the temporary datastore on the ESX host it registers the restored virtual machines on the ESX host.
- If more than one VM had been restored to the ESX host:
nbrestorevm - ir_reactivate_all -vmhost vm_host - media_server media_server [-force]
Note: For multiple virtual machines, do not use the - ir_reactivate option. Use - ir_reactivate_all.
The -vmhost option specifies the ESX host on which the virtual machines were mounted. The -media_server option specifies the media server on which the NFS datastores that contain the backup images were mounted. -force is an optional parameter to suppress confirmation prompts.
The nbrestorevm -ir_reactivate_all command remounts the NetBackup NFS datastores on the media server and reactivates the virtual machines.
- When the virtual machine is reactivated, you can copy its files or migrate its data to the ESX host.
- If Storage vMotion was migrating the virtual machine files when the outage occurred, restart the migration.
In vSphere Client, right-click on the restored virtual machine and select Migrate.