Backups for Citrix Xen

The Virtual Server Agent (VSA) proxy on a XenServer can perform backups for all virtual machines (VMs) running on shared storage. The best practice approach is to deploy at least one proxy in each Xen pool. For XenServers with high backup requirements, multiple proxies can be deployed.

By default, a backup takes a quiesced snapshot for each VM, using the Windows Volume Shadow Copy Service (VSS) to generate an application-consistent point-in-time snapshot as a source for the backup. If the backup is unable to take a quiesced snapshot, the backup takes a disk-only snapshot instead. For more information, see About Snapshots in XenCenter documentation.

Note

With XenServer 6.x, a VSA proxy for Xen can have a maximum of 16 disks attached, including any disks that belong to the proxy as well as VM disks that are included with a backup or restore operation. If the disk limit is exceeded during a backup operation, the operation fails.

Virtual machine backup jobs are allocated to VSA proxies according to the following priorities:

  1. Each VSA proxy manages backups for virtual machines hosted on the same XenServer.

  2. If a proxy on the same host is not available, another VSA proxy that has access to the VM storage repository is used.

  3. When multiple VSA proxies are available for a host, the round-robin method is used to choose the least loaded proxy.

  4. If none of the other criteria can be used to allocate jobs for a VM, jobs are allocated by default to the coordinator node (the first VSA proxy listed for the virtualization client). If the coordinator node cannot access the storage repositories for the VM disks, the job fails.

When a virtual machine is discovered during backup, a client for the VM is created in the CommCell Console if one does not already exist. If a virtual machine with spaces or special characters in its name is discovered during backup, the spaces or special characters are replaced with underscores ('_') when creating the VM client name that is displayed in the CommCell Console. The VM name with spaces or special characters is still displayed on the Virtual Machine Status tab for the backup job, in the backup job summary, and in reports that include the VM name. The following special characters are replaced:

[ \ \ | ` ~ ! @ # $ % ^ & * + = < > ? , { } ( ) : ; ' \ " \ \ s / ]

What Gets Backed Up

The VSA backs up the following data:

  • The gfs2 volume type for Xen

  • Virtual machines (powered on or powered off)

  • Associated virtual machine disks

  • When a virtual machine disk for a Xen virtual machine is backed up, the entire disk is read for allocated blocks, for both full and incremental backups.

  • Custom templates

What Does Not Get Backed Up

The VSA does not back up the following data:

  • Proxy virtual machines on which the Virtual Server Agent is installed

  • Citrix Hypervisor templates

  • Physical disks attached to a guest VM

Note

  • If some parts of a virtual machine backup job are not completed successfully, the job status is "Completed w/ one or more errors". To check the status of specific VMs, you can view the Job Details dialog box and then select the Virtual Machine Status tab.

  • If the status for a specific virtual machine is "Partial Success", some information for the VM was successfully backed up, but other information was not. Failed items for a VM contribute to the Failed Objects count in the Backup Job Summary Report.

  • A VM is only included in a backup of failed VMs if the VM is marked as "Failed" in the Virtual Machine Status tab. VMs that complete with partial success are not included as failed VMs.

Controlling Metadata Collection and Granular Recovery

By default, file and folder metadata is collected during backups. Metadata collection is required for recovery of guest files and folders from virtual machines.

If you do not need to recover file and folder information for some virtual machines, you can configure backups to disable the granular recovery option.

Backup Types

You can perform the following types of backups, either immediately or on a schedule:

  • Full backup

    Back up the entire virtual machine. This is the most comprehensive backup.

  • Incremental backup

    Back up virtual machine data that has changed since the most recent backup.

  • Differential backup

    Back up virtual machine data that has changed since the most recent full backup.

  • Synthetic Full backup

    Consolidate virtual machine data from the most recent full backup with subsequent incremental and differential backups.

Loading...