Skip to main content
Druva Documentation

Restore virtual machine data

Phoenix Editions: File:/tick.png Business File:/cross.png Enterprise File:/tick.png Elite

If you have taken a standard backup (non-application aware), you can restore:

  • Full virtual machine: Restores the entire virtual machine. For more information, see Restore full virtual machine.
  • Data Restore: Restores VMDKs, files and folders. 

To know more about the restore workflow, see About VMware restores.

Prerequisites

  • Before you proceed with the restore, ensure you have reviewed the prerequisites and considerations

  • For the list of supported disks, partitions, and files, see Support matrix.

  • You must have write permission for the target location, where you want to restore the files. 

Restore file and folders

Phoenix provides you with the capability to restore files to CIFS/SMB share and any virtual machine in your vCenter/ESXi.

The following ACL parameters are restored along with the files:

Source virtual machine Restore type ACL parameters restored 
File-level Restore to a virtual machine:
Windows virtual machine Original virtual machine
  • File modification time
  • Last access time 

 

Windows virtual machine

Alternate Windows virtual machine

  • File modification time
  • Last access time 
Alternate Linux virtual machine
  • File modification time
  • Last access time
Linux virtual machine Original virtual machine
  • Modification time
  • Last access time
  • User id
  • Group id
  • File permission

 

Linux virtual machine

Alternate Windows virtual machine

  • File modification time
  • Last access time 
Alternate Linux virtual machine
  • Modification time
  • Last access time
  • User id
  • Group id
  • File permission
File-level Restore to CIFS share:
Windows virtual machine -
  • File modification time
  • Last access time 
Linux virtual machine -
  • File modification time
  • Last access time 

The following video provides a quick process overview.

Considerations

  • If the Phoenix agent restarts during the file restore operation, the job is not retried as Phoenix does not store any guest OS credential. This job will fail with  PHOENIX250. For more information  see, Phoenix errors.
  • The  target virtual machine should have enough space to store the restored files. If the target virtual machine does not have enough space, the triggered restore job will be marked as successful with error.

Procedure

  1. Log in to the Phoenix Management Console
  2. Under Product & Services > Phoenix, click VMware.
  3. Select your organization.
  4. The All vCenter/ESXi host page appears that lists all the registered vCenter/hypervisors. 
  5. You can either select the registered vCenter from the list or select it from the vCenter/ESXi host list in the left navigation pane.
  6. In the left navigation pane, click Configured VMs.
  7. Select the virtual machine you want to restore.
  8. Click Restore > VM Restore.
  9. Click Data Restore and then select a snapshot.
    To know more about restoring cold snapshots, see Restoration of cold-tier data.
  10. Click Files & Folders and select the file or folder you want to restore.
     
  11. On the File Restore page, you can choose one of the following restore targets.
    File_restore.png
    • Restore to CIFS share: Restores the files and folders to a specific network share.

      The restored file will be available on UNC share in the Phoenix-VMWare-FLR-[jobid] folder. 

      Field Description

      UNC Path

      Valid UNC share (network share) path that is reachable from the selected vCenter/ESXi.

      Valid sharename format:

      • \\<hostname> or<Ip address>\<Sharename>
      • //Host/Folder                       

      Note: UNC sharename must not have any Unicode characters.

      Username

      Valid username of UNC share.

      Note: You can specify domain name in the username of the UNC share in the "domain@username" format

      Password

      Valid password for UNC share.

      Select vCenter/ESXi

      From the drop-down list, select a vCenter/ESXi that has at least one backup proxy in the connected state.

      Backup Proxy Pool From the drop-down list, select a backup proxy pool. It is recommended that you select a backup proxy pool with backup proxies that are locally connected to the destination hypervisor for restore.
    • Restore to Virtual Machine: Restores the files and folders to the original or specified VM.

      • Restore to original VM: Select this option if you want to restore the selected files to a different virtual machine.
         

        Field Description
        Guest OS Credentials
        User Valid username.
        Password Valid password.
        Location Browse to the location where you want to restore files.
        If original file(s) exist
        Always overwrite The files with the same name will always be overwritten at the destination regardless of the file version or date. By default, this option is always selected.
        Always skip The files with the same name will not be restored to the destination. The number of files skipped will be displayed in the progress logs.
        Overwrite if original is older

        The files with the same name will be overwritten only if the files are older than the version being restored.

        Restore and move original to .orig If the file being restored already exists at the destination, the version being restored will be saved with the same filename. While the existing file will be renamed to filename.ext.orig. On subsequent restores, the existing file versions at the destination will be appended with an incremental number such as filename.ext.orig1, filename.ext.orig2, and so on.
        Preserve upward tree path You can preserve the entire source location, that is tree path while restoring a file to an alternate location.

        An example of upward tree path: If you are restoring folder “B” from the source location  Volume1/A/B/C/D to  F:/.
        The restored file structure will be  F:/A/B/C/D.
      • Restore to an Alternate VM: Select this option if you want to restore the selected files to a different virtual machine.
         

        Field Description
        Destination VMware Setup  Select the required vCenter/ESXi.
        Destination Hypervisor

        Select the required Hypervisor.

        Destination VM

        Select the required virtual machine where you want to restore the files.

        Note: The timestamp under the Destination VM  drop-down lists the last time the virtual machine listing page was refreshed.

        Backup Proxy Pool

        From the drop-down list, select a backup proxy pool. It is recommended that you select a backup proxy pool with backup proxies that are locally connected to the destination hypervisor for restore.

        Note: If the virtual machine has a backup proxy pool mapped to it, the mapped backup proxy pool is selected by default.

        Guest OS Credentials
        User Valid username.
        Password Valid password.
        Location Browse to the location where you want to restore files.
        If original file(s) exist
        Always overwrite The files with the same name will always be overwritten at the destination regardless of the file version or date. By default, this option is always selected.
        Always skip The files with the same name will not be restored to the destination. The number of files skipped will be displayed in the progress logs.
        Overwrite if original is older

        The files with the same name will be overwritten only if the files are older than the version being restored.

        Restore and move original to .orig If the file being restored already exists at the destination, the version being restored will be saved with the same filename. While the existing file will be renamed to filename.ext.orig. On subsequent restores, the existing file versions at the destination will be appended with an incremental number such as filename.ext.orig1, filename.ext.orig2, and so on.
        Preserve upward tree path You can preserve the entire source location, which is tree path while restoring a file to an alternate location.

        An example of upward tree path: If you are restoring folder “B” from the source location  Volume1/A/B/C/D to  F:/.
        The restored file structure will be  F:/A/B/C/D.
  1. Click Finish

Restore a VMware virtual disk

Considerations

After a restore completes, you should expect the following scenarios:

  • If you choose to restore the complete virtual machine, Phoenix creates a new virtual machine with the same configuration as the original virtual machine using the following naming syntax: <Name of the original virtual machine>_<counter>. The counter increments by 1 for subsequent restores of the virtual machine. For example, for the first restore a virtual machine named Test Virtual Machine, Phoenix creates a virtual machine called Test Virtual Machine_1. For the second restore, Phoenix creates a virtual machine called Test Virtual Machine_2.
  • If you choose to restore a virtual disk, Phoenix creates a new virtual machine with minimum configuration (100 MB and 1 CPU) and associates the VMDK files that you selected to it.​ Configuration does not matter if a virtual disk is not bootable. 

In addition, the VMware hypervisor changes the thin disk to a thick disk in the following scenarios:

  • If Changed Block Tracking (CBT) was disabled at the time of backup.
  • The virtual disk was attached to a virtual machine that was created on top of an NFS datastore at the time of backup. For more information, see the VMware KB article.
  • All data blocks of the thin disk were allocated at the time of backup.
  1. Log in to the Phoenix Management Console
  2. Under Product & Services > Phoenix, click VMware.
  3. Select your organization.
  4. The vCenter/ESXi host page appears that lists all the registered vCenter/hypervisors. 
  5. You can either select the registered vCenter from the list or select it from the vCenter/ESXi host list in the left navigation pane.
  6. In the left navigation pane, click Configured VMs.
  7. Select the virtual machine you want to restore.
  8. Click Restore > VM Restore.
  9. Click Data Restore and then select a snapshot.
    To know more about restoring cold snapshots, see Restoration of cold-tier data.
  10. Click VMDK and select the virtual disk you want to restore.
    Restore_vmdk.png
  11. Click Restore.  
  12. In the Virtual Disk Restore dialog box, enter the following details.
    Field Description

    Destination VMware Setup

    From the dropdown list, select the VMware setup where you want to restore the virtual disk.

    Backup Proxy Pool

    Lists the backup proxy pools available in the vCenter server.

    It is recommended that you select a backup proxy pool with backup proxies that are locally connected to the destination hypervisor for restore.

    Destination Hypervisor

    From the dropdown list, select the ESXi hypervisor where you want to restore this virtual disk.

    Destination Datastore

    From the dropdown list, select the data store where you want to restore this virtual disk.

    Compute Resource

    Select host, cluster, or a resource pool where you want to restore the virtual disk. You cannot select a datacenter or a folder. 
    This option is not available if you are restoring a virtual disk to a standalone ESXi host.

    Folder

    Select a folder under the data center hierarchy where you want to restore the virtual disk. 
    This option is not available if you are restoring a virtual disk to a standalone ESXi host.

  13. Review the restore details, and click Finish.