Skip to main content
Druva Documentation

Configure virtual machines for backup

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

After registering your VMware setup with Phoenix, Phoenix discovers the virtual machines that are available in your VMware environment with the help of backup proxy and lists it in the Phoenix Management Console.

It is up to you, the Phoenix Administrator, to choose the virtual machines you want to configure for backup.

Configuring a virtual machine for backup involves the following:

  1. Select a storage
  2. Select an administrative group
  3. Select a backup policy
  4. Assign virtual machine to a backup proxy pool.

You can configure virtual machines for backup in any of the following patterns:

  • A single virtual machine for scheduled backup.
  • A group of virtual machines that follow the same backup schedule

Prerequisites

  • Backup proxy pool, to which the virtual machines must be assigned, should be pre-created. For more information, see Backup proxy pool.

You can also create a new administrative group while configuring a virtual machine for backup. However, pre-creating a group helps you quickly configure virtual machines for backup.

To configure registered virtual machines for backup

  1. Log on to Phoenix management console. 
  2. From the top menu bar, select your organization from the drop-down menu. 
  3. After the organization is selected, click Protect > VMware from the top menu bar. 
    A page appears that lists all the registered hypervisors. The registered hypervisors list includes all registered vCenter and ESXi servers.
  4. Select the hypervisor from the listings page. A page appears that lists all the virtual machines the hypervisor hosts. The heading of the page is the IP address of the hypervisor or its fully qualified domain name (FQDN). The hypervisor page contains the following tabs:
    • All Virtual Machines
    • Configured Virtual Machines
    • Backup Proxy Pools
    • Auto Configuration
  5. Under the All Virtual Machines tab, select the virtual machines you want to configure and click Configure VMs for Backup.
    A configuration wizard appears with the following sections:
    • Backup Settings
    • Backup Content
    • Backup Proxy Pool
    If you select one virtual machine, the title of the configuration wizard is Configure 1 VM(s) for Backup
  6. In the Backup Settings section of the configuration wizard, provide the following options:
    Field Description
    Storage Region where you want to store the snapshots. You cannot change storage later.
    Administrative Group Phoenix lets you create a group for better management of resources. For example, you can create an administrative group for all virtual machines with Linux as the guest operating system. Later, you can directly access all servers using the administrative group page. 

    In this field, you can:
    • Choose an existing administrative group, or
    • You can create a new administrative group
    If you click Create New Group, Create New Administrative Group window appears. Provide a name and description for the administrative group. For example,
    • In the Name field, enter Linux Virtual Machines
    • In the Description field, enter an administrative group for all virtual machines with Linux Guest OS.
      After you provide a name and description for the administrative group, click Save. After you click Save, the configuration wizard reappears with the group you created as an option for you to select. 
    Backup Policy The Backup Policy in Phoenix specifies:
    • Backup Schedule
      Settings in the backup schedule are:
      • The day, date, and time when Phoenix should trigger a backup
      • Backup duration that specifies for how long Phoenix should run a backup job 
      • Bandwidth available for backup job
    • Ignore backup duration for the first backup
      Defines whether Phoenix should ignore backup duration for the first job. Typically, a lot of data is scanned and uploaded in the first job, and it lasts longer the subsequent incremental backup jobs. The default and recommended setting for this option is Yes.
    • Automatic Retry
      Lets you specify the behavior if a backup job fails. Phoenix can retry triggering a backup job if a backup fails for an issue like network failure. You can choose the number of retries and specify the interval after which Phoenix retries triggering the backup job. 
    • Retention
      Specifies the period for which Phoenix retains a snapshot in the cloud.
    • Auto-enable CBT
      Phoenix uses VMware Changed Block Tracking (CBT) capabilities to optimize data scanning. Phoenix can attempt to turn on CBT if the Auto-enable CBT setting is enabled. Yes is the default and recommended setting. 
    • Enable VMware tools quiescing
      VMware tools quiescing brings a virtual machine to a backup ready state. Tools quiescing avoids unnecessary errors when Phoenix creates a snapshot. Phoenix can attempt to turn on VMware tools quiescing if the setting is enabled. Yes is the default and recommended setting. 

    You can either select an already created backup policy or create a new backup policy using the Create New button. 

    If you click the Create New button, the Create New Backup Policy: VMware wizard appears with the following tabs:

    • Summary
      Provide name and description for the backup policy. For example,
      • Name: VMware backup policy
      • Description: Backup policy for VMware virtual machines. 
    • Backup Schedule
      Lets you specify the backup schedule, ignore backup duration for the first backup, and automatic retry settings described above. 
    • Retention
      Lets you specify the period for which you want Phoenix to retain snapshots for virtual machines. 
    • VMware Settings
      Lets you enable following VMware functionalities
      • Auto-enable CBT
      • VMware Tools Quiescing
    After you select your options in the Backup Settings section, click Next
  7. You can leave the Backup Content section empty to include all virtual disks for backup.
    Or, in the Backup Content section, enter the virtual disks that you don't want Phoenix to backup.  Phoenix does not list the virtual disks automatically. Manually enter the virtual disks you want to exclude. To exclude virtual disks, provide:
    • Entire path to the virtual disk location if you want to exclude a specific virtual disk. For example [datastore]/virtual_machine_name/folder/virtual_disk.vmdk.
      Note: To exclude a virtual disk, Phoenix recommends that you copy the virtual disk name or path from the vSphere web client. For more information, see VMware backup and restore FAQs.
    • A wildcard with a string. For example, enter *test* to exclude virtual disks that contain the string test in the path of the virtual disk. 
      For more information on how to use the wildcard character, see VMware backup and restore FAQs.
  8. In the Backup Proxy Pool section of the configuration wizard, select a backup proxy pool. A backup proxy pool is a collection of backup proxies deployed in the vCenter or ESXi server. Phoenix provides a default backup proxy pool, and when you deploy a backup proxy to the hypervisor, Phoenix adds the backup proxy under the default backup proxy pool. If multiple backup proxies are available under a pool, Phoenix optimizes backup jobs by concurrently scanning and uploading data using different backup proxies available. You can select the default backup proxy pool, or you can select a user-created pool. For more details on backup proxy pools, see Backup Proxy Load Balancing
  9. After selecting a backup proxy pool, click Finish. The selected virtual machines are now configured for backup. 

Next step

The selected virtual machines are configured for backup. Phoenix backs up virtual machines based on the backup policy. In case a recovery is needed, you can restore your virtual machines. To learn more about virtual machine restore, see:

If you have deployed CloudCache, you can attach virtual machines to CloudCache. For more information, see Attach a new backup set to CloudCache.