Veritas NetBackup™ for VMware Administrator's Guide
- 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
- 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)
For a VMware virtual machine with Windows dynamic disks, a restore from incremental backup fails with a Windows restore host and the hotadd transport mode
A restore of a Windows virtual machine by means of the hotadd transfer mode may fail in the following case:
A backup is taken of a Windows virtual machine that has a dynamic disk group.
After the backup, another dynamic disk is added to the virtual machine's disk group.
After the dynamic disk is added, an incremental backup is taken of the virtual machine.
A Windows restore host is used with the hotadd transport mode to restore the virtual machine from the incremental backup.
The restore fails when the Windows restore host tries to mount the dynamic disk that was added after the first backup. Depending on the data that has already been restored, Windows may detect the dynamic disk as
Foreign. Further writes to an
Foreign disk are unsuccessful and the restore fails.
The restore fails with status 1, "the requested operation was partially successful." Messages similar to the following may appear in the VxMS provider logs:
14:10:18.0854 : vdWrite:../VixInterface.cpp:760 <ERROR> : Error 24488361628532739 in write with vdhandle 48870608 startsector 128 numsectors 1 14:10:18.0854 : write:VixFile.h:333 <ERROR> : Returned error 3, offset 0x0000000000010000, length 0x0000000000000200 14:10:18.0854 : write:VixFile.h:334 <ERROR> : Returning: 11 14:10:18.0854 : vixMapWrite:../VixCoordinator.cpp:1259 <ERROR> : Returning: 11 14:10:18.0854 : vix_map_write:../libvix.cpp:1826 <ERROR> : Returning: 11
When they are enabled, VxMS logs are written in the following directory:
For successful restores from future incremental backups, run backups with theoption in the policy.
Try any of the following workarounds to restore from the current incremental backup:
Use a Linux restore host (not Windows).
Use a different transport mode, such as NBD, NBDSSL, or SAN (not hotadd).
When the dynamic disk (the one that was added after the first backup) is mounted for restore, manually set the disk to offline. When the disk is offline, NetBackup can write data to it and successfully complete the restore.
See the remainder of this tech note for assistance with this workaround.
To determine when the dynamic disk is mounted for restore
- Use the Windows Disk Management utility (Control Panel > Administrative Tools > Computer Management > Disk Management), or run diskpart in administrator mode and enter the list disk option.
When Windows attempts to mount the disk, it labels the disk as
To use diskpart to take the dynamic disk offline
- On the Windows restore host, run diskpart in administrator mode.
- Enter list disk to list all disks and find the
- Enter select disk disk ### to select the disk that is
- Enter offline disk to offline the disk.
DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 100 GB 1024 KB Disk 1 Online 256 GB 56 GB * Disk 2 Invalid 40 MB 40 MB * * Disk 3 Offline 40 MB 40 MB DISKPART> select disk 2 Disk 2 is now the selected disk. DISKPART> offline disk DiskPart successfully taken offline the selected disk.