Skip to main content
  1. Blog/

Veeam Citrix Hypervisor / Xenserver

·872 words·5 mins·
Author
Marco Escobar
Data protection, Kubernetes, cybersecurity and AI. Hands-on guides from the trenches: Veeam, Kasten, VMware, Oracle, cloud, and whatever I’m breaking in the homelab this week.
Table of Contents
Veeam Citrix Hypervisor / Xenserver - screenshot 1

In this post we will look at how to protect Citrix XenServer or Citrix Hypervisor virtual machines with Veeam v10 and its agents, recovering them on the same hypervisor or performing instant recovery and migration to VMware vSphere.

Introduction
#

We all know that the hypervisors natively integrated (so far) with Veeam Backup & Replication are VMware and Hyper-V. So when it comes to other hypervisors such as Citrix XenServer (Citrix Hypervisor), Oracle VM, or Proxmox, to name a few, we need to rely on Veeam Agents to fully protect the virtual machines.

Since we have to use agents, in this case we will use Veeam Agent for Windows and Veeam Agent for Linux. Both provide an excellent way to run a complete backup of the machines and also deliver application-consistent backups for databases or applications whenever that is required.

Of course, there are other backup options depending on the needs of each environment, which you can review here:

Veeam Agent for Windows: https://helpcenter.veeam.com/docs/agentforwindows/userguide/backup_job_create.html?ver=40

Veeam Agent for Linux: https://helpcenter.veeam.com/docs/agentforlinux/userguide/backup_job_create.html?ver=40

Installed Citrix Hypervisor / XenServer environment
#

For the lab I installed a single hypervisor node and its XenCenter to run the tests. The installed versions are the latest ones I could download from the Citrix site:

https://www.citrix.com/downloads/citrix-hypervisor/

The version used for the hypervisor and XenCenter is 8.2. I then installed a Windows Server 2019 machine with Citrix VM Tools 9.0.42 and a CentOS 8 machine with Citrix VM Tools 7.20.0-1 in order to back up both machines.

Protection Group
#

When working with agents in Veeam, you should always manage them through a protection group, since this lets you centralize management and organize the different servers that will run agents according to the needs of the business.

Veeam Citrix Hypervisor / Xenserver - screenshot 2

As shown in the image above, we can see both servers with their agents installed. Keep in mind that when you create the protection group, Veeam Backup & Replication installs the Windows or Linux agent automatically.

Veeam Citrix Hypervisor / Xenserver - screenshot 3

Once the installation of the agents is confirmed, whether Veeam Agent for Windows or Veeam Agent for Linux, we create the corresponding Backup Jobs. We configure them to back up the entire machine so that we later have the Bare Metal Recovery option, in case we want to fully recover the server on XenServer or on VMware vSphere.

Veeam Citrix Hypervisor / Xenserver - screenshot 4
Veeam Citrix Hypervisor / Xenserver - screenshot 5

Then we run the Backup Job for both servers and review the statistics once they complete.

Veeam Citrix Hypervisor / Xenserver - screenshot 6

XenServer Image Recovery
#

Now for the important part: performing the Bare Metal Restore, whether Linux or Windows, onto Citrix XenServer / Hypervisor. If you want to review the Veeam manual for the procedure:

VAW: https://helpcenter.veeam.com/docs/agentforwindows/userguide/image_boot.html?ver=40

VAL: https://helpcenter.veeam.com/docs/agentforlinux/userguide/baremetal.html?ver=40

As you will see in the manual, for Windows you need to create the Recovery Media ISO, which you can build directly from the console and save wherever you prefer by clicking Next.

Veeam Citrix Hypervisor / Xenserver - screenshot 7
Veeam Citrix Hypervisor / Xenserver - screenshot 8

For backups taken with Veeam Agent for Linux, you need to download the Recovery ISO from the Veeam downloads page:

https://www.veeam.com/linux-backup-download.html

Veeam Citrix Hypervisor / Xenserver - screenshot 9

Then copy both ISOs to the repository you have in Citrix.

Veeam Citrix Hypervisor / Xenserver - screenshot 10

Finally, create a virtual machine in XenCenter with the same virtual hardware specifications to perform the recovery.

Veeam Citrix Hypervisor / Xenserver - screenshot 11

Then boot the virtual machine with the ISO attached to run the recovery.

Veeam Citrix Hypervisor / Xenserver - screenshot 12

Select “Network Storage” and click Next, then choose “Veeam Backup Repository”, and assign an IP address under “Configure Network Settings”.

Veeam Citrix Hypervisor / Xenserver - screenshot 13

Then we enter the details of our Veeam Backup & Replication repository.

Veeam Citrix Hypervisor / Xenserver - screenshot 14

We select the backup we want to recover.

Veeam Citrix Hypervisor / Xenserver - screenshot 15
Veeam Citrix Hypervisor / Xenserver - screenshot 16

And we choose to recover the “Entire Computer”.

Veeam Citrix Hypervisor / Xenserver - screenshot 17

Then we proceed with the recovery of the virtual machine on Citrix XenServer / Hypervisor.

Veeam Citrix Hypervisor / Xenserver - screenshot 18

Then reboot and remove the recovery ISO to watch Windows boot and confirm that the XenTools run:

Veeam Citrix Hypervisor / Xenserver - screenshot 19
Veeam Citrix Hypervisor / Xenserver - screenshot 20

And with that we complete the recovery of full machines on XenServer.

Recovery to VMware
#

One of the finest capabilities in Veeam Backup & Replication is the ability to recover any backup directly to VMware vSphere, which lets us maintain a multicloud and hybrid strategy for data recovery. If you want to learn more:

https://helpcenter.veeam.com/docs/backup/vsphere/performing_instant_recovery_vm.html?ver=100

So if you want the option to recover or migrate XenServer virtual machines to VMware, you can do it with Instant Recovery straight from the Veeam Backup & Replication console.

Veeam Citrix Hypervisor / Xenserver - screenshot 21

When you click Instant VM Recovery, the wizard for recovering the XenServer machine appears, and then we select the desired Recovery Point:

Veeam Citrix Hypervisor / Xenserver - screenshot 22

After selecting the restore point, we enter the required VMware details and then click Next.

Veeam Citrix Hypervisor / Xenserver - screenshot 23

And we can choose whether to power on the machine and connect it to the network.

Veeam Citrix Hypervisor / Xenserver - screenshot 24

And we will see the status of the recovery:

Veeam Citrix Hypervisor / Xenserver - screenshot 25
Veeam Citrix Hypervisor / Xenserver - screenshot 26

It then waits so we can carry out the migration:

Veeam Citrix Hypervisor / Xenserver - screenshot 27
Veeam Citrix Hypervisor / Xenserver - screenshot 28

The machine is already running! Now we perform the migration to the production vSphere datastore, selecting the vSphere resources we will use.

Veeam Citrix Hypervisor / Xenserver - screenshot 29

Then either assign proxies or leave them on automatic.

Veeam Citrix Hypervisor / Xenserver - screenshot 30

Finally, review the summary of what will be done.

Veeam Citrix Hypervisor / Xenserver - screenshot 31

And lastly the statistics.

Veeam Citrix Hypervisor / Xenserver - screenshot 32
Veeam Citrix Hypervisor / Xenserver - screenshot 33

So with Veeam Backup & Replication you can protect your virtual machines on Citrix XenServer / Hypervisor and either fully recover them on the same Xen, or recover and migrate them to VMware vSphere.

Related posts#