
In this article, we will explore how to protect virtual machines running in Vates XCP-ng and Citrix XenServer environments using Veeam Backup & Replication. This approach leverages the XCP-ng API directly to perform image-level, incremental backups using Changed Block Tracking (CBT), removing the need to manage agents inside individual virtual machines. Please see A-Z of XCP-ng and Xen Orchestra setup and VM Creation, how to Backup and Restore Proxmox VE virtual machines with Veeam and how to Add Nutanix AHV to Veeam.
Note: You can also employ Veeam Agent for Microsoft Windows and Veeam Agent for Linux, managed by Veeam Backup and Replication (VBR) to protect virtual machines in XenServer and XCP-NG environments as discussed here kb4703.
Regardless of the above, I will recommend that for a new XCP-ng deployment using Veeam Backup & Replication 13.1 or 2, I would choose the native Veeam Plug-in for Xen rather than deploying agents individually in every VM.
Now that XCP-ng is fully supported by Veeam Backup & Replication through the Veeam Plug-in for XCP-ng / Xen Orchestra integration, and the solution is no longer in the public BETA for Veeam Data Platform v13. I have therefore decided to protect the VMs running in my pools. However, my server has limited resources, so I need to free up capacity to run the Veeam worker. To achieve this, I have decided to sacrifice the VM currently running the Xen Orchestra Appliance (XOA).
Note: If you are also working with limited resources in your XCP-ng lab, you could consider doing the same. The XOA can be deployed on another host in your lab environment, allowing you to free up resources on the XCP-ng host dedicated to running the Veeam worker.


As you can see below, I have some resources capable to running my worker. As you can see here, some uopdates are missing and we need to apply them before integrating the platofm into VBR.

XCP-ng Backup Options: Xen Orchestra and Veeam
Before looking at Veeam wich is my preferred backup solution. It is worth mentioning that XCP-ng already provides a comprehensive, native backup solution through Xen Orchestra as discussed in the XCP-ng Documentation.
Xen Orchestra is fully integrated with XCP-ng and offers several backup and replication capabilities without requiring agents inside the guest operating systems.
Xen Orchestra: Native Backup Solution
Xen Orchestra provides several backup and replication options, including:
- Automated rolling snapshots
- Full backups
- Full VM replication
- Incremental backups
- Incremental replication
- Mirror backups
- Xen Orchestra (XO) metadata backups
- XCP-ng metadata backups
- Cloud-enabled XO metadata backups
Therefore, Xen Orchestra is therefore a capable backup solution in its own right and is an excellent choice for environments built around the XCP-ng ecosystem. These capabilities are complemented by features such as:
- NFS, SMB and S3-compatible backup repositories
- Backup encryption and compression
- File-level recovery
- NBD-enabled backups for improved transfer performance
- Network rate limiting
- XO Proxy for managing backups across remote sites without requiring a VPN connection
Please see Fix Operating System Loader failed signature verification” on Dell Safe BIOS Systems via PXE [Part 3], How to protect Microsoft 365 beyond native limits with VDC [Part 1], and how to Update WinPE Boot Images with Windows UEFI CA Certificates [Part 2].
Why Use Veeam Backup & Replication?
However, if you already use Veeam Backup & Replication to protect your VMware, Hyper-V, Proxmox or physical infrastructure, introducing another backup platform solely for XCP-ng is not desirable. This is where Veeam’s integration with XCP-ng and XenServer becomes particularly interesting and other Cyber assurance it provides.
With the Veeam Plug-in for Xen, you can extend your existing Veeam Backup & Replication infrastructure to protect virtual machines running in supported XCP-ng and XenServer environments. The main advantages include:
- Centralised management: Manage XCP-ng VM backups alongside your existing VMware, Hyper-V, Proxmox, physical and cloud workloads through the Veeam Backup & Replication console.
- Unified backup infrastructure: Reuse your existing Veeam backup repositories, and backup infrastructure.
- 3-2-1-1-0 data protection strategy: Use Veeam Backup & Replication’s backup and backup copy capabilities to maintain multiple backup copies across different storage media and locations, including offline, air-gapped or immutable copies. This helps implement the 3-2-1-1-0 best-practice strategy.
- Immutable backups and ransomware resilience: Protect backup data against unauthorised modification or deletion using supported immutable repositories, such as Linux Hardened Repositories and compatible object storage with Object Lock.
- Encryption and data security: Protect backup data with built-in encryption at rest and encryption of data in transit, helping prevent unauthorised access to sensitive backup data.
- Integrated security controls: Strengthen the backup infrastructure with role-based access control (RBAC), multi-factor authentication (MFA), Four-Eyes Authorization and Security & Compliance Analyzer to reduce the risk of unauthorised access and insecure configurations.
- Malware and ransomware detection: Veeam provides capabilities for detecting suspicious activity, scanning backup data for malware and identifying potentially infected restore points. Supported scanning methods depend on the workload and configuration.
- Backup verification and recoverability: Veeam provides technologies for validating backup integrity and recoverability, helping identify problems before an actual disaster recovery scenario.
- Reduced management overhead: Avoid introducing and maintaining a separate backup management platform solely to protect your XCP-ng workloads.
This does not mean Xen Orchestra is an inferior backup solution. Rather, Veeam is particularly attractive for organisations that have already standardised on Veeam Backup & Replication and want to extend their existing backup strategy to XCP-ng.
Please see Active Directory Vulnerability Assessment with Purple Knight: Domain Controller Owner Is Not an Administrator, AGMP extended support ends April 2026: Find alternative solution, and [World Backup Day] V13 Upgrade Failure: Veeam Configuration Backup Saved the Day.
Veeam Backup & Replication Capabilities for XCP-ng and XenServer
The integration between Veeam Backup & Replication and Xen environments goes beyond simply creating VM backups. It provides a comprehensive set of data protection, recovery and portability capabilities that allow you to protect workloads running on XCP-ng and Citrix XenServer while retaining flexibility when restoring them to other supported platforms. Below are some of its caabilities:
- At its core, Veeam enables you to create image-level backups of Xen virtual machines and store them in configured backup repositories. For ad-hoc protection requirements, VeeamZIP can also be used to create standalone VM backups without having to configure a regular backup job. Backup copies can be maintained across different locations to provide additional protection against infrastructure failures and site-level disasters.
- One of the most interesting aspects of this integration is its cross-platform recovery capability. Veeam is not limited to restoring workloads to their original Xen environment. Backups created from XCP-ng and XenServer virtual machines can also be restored to supported platforms such as VMware vSphere, Microsoft Hyper-V, Nutanix AHV, Proxmox VE and other supported virtualization environments.
- The same flexibility applies to recovery from other platforms. Existing Veeam backups of VMware, Hyper-V, Proxmox VE, Nutanix AHV, physical machines and supported public cloud workloads can be restored to Xen environments. This makes the integration particularly valuable for organisations considering hypervisor migration, infrastructure consolidation or a transition to XCP-ng.
- The same flexibility applies to recovery from other platforms. Existing Veeam backups of VMware, Hyper-V, Proxmox VE, Nutanix AHV, physical machines and supported public cloud workloads can be restored to Xen environments. This makes the integration particularly valuable for organisations considering hypervisor migration, infrastructure consolidation or a transition to XCP-ng.
- Beyond full virtual machine recovery, Veeam provides several granular recovery options. This allows individual files and folders restoration from guest operating systems, recover supported application-level items, export virtual disks to VMDK, VHD or VHDX formats, and mount backed-up VM disks in read-only mode to access their contents.
- The same flexibility applies to recovery from other platforms. Existing Veeam backups of VMware, Hyper-V, Proxmox VE, Nutanix AHV, physical machines and supported public cloud workloads can be restored to Xen environments. This makes the integration particularly valuable for organisations considering hypervisor migration, infrastructure consolidation or a transition to XCP-ng.
- Beyond full virtual machine recovery, Veeam provides several granular recovery options. Administrators can restore individual files and folders from guest operating systems, recover supported application-level items, export virtual disks to VMDK, VHD or VHDX formats, and mount backed-up VM disks in read-only mode to access their contents.
- Veeam also supports Instant Recovery of Xen virtual machines to selected alternative virtualization platforms, including VMware vSphere, Microsoft Hyper-V, Nutanix AHV and Proxmox VE. This provides additional flexibility when recovering workloads to alternative infrastructure during an outage or migration scenario.
Overall, the integration makes XCP-ng and XenServer part of a broader Veeam data protection ecosystem. With these capabilities as mentioned above, organisations should incorporate it into their existing backup, disaster recovery and cross-platform migration strategies.
Please see How to fix ADDS already contain a computer account, AZURE Kubernetes Service (AKS) upgrade minor version from 1.32.3 to 1.33.7, and how to Reset or reinstall Windows Server without deleting the VM.
Solution Architecture and Prerequisites
Veeam Backup & Replication integrates with XCP-ng and Citrix XenServer through the Veeam Plug-in for Xen, introduced with Veeam Backup & Replication 13.1. This integration extends the existing Veeam backup infrastructure, allowing you to add Xen pools and manage backup and recovery operations alongside their other protected workloads.
Note: The solution consists of five main components that work together to coordinate VM discovery, backup processing, data transfer and recovery.
Understanding the Veeam Plug-in for Xen Architecture
Note that the Veeam Plug-in for Xen is tightly integrated with Veeam Backup & Replication. The architecture comprises of the following components as shown in the image below:

Xen Pool Coordinator: The Xen Pool Coordinator provides a central management interface for the hosts within a Xen pool. The Veeam Plug-in for Xen communicates with the coordinator to discover and access virtual machines, storage repositories and network resources required for backup and recovery operations.
Veeam Backup Server: The backup server is the central management and orchestration component of the Veeam infrastructure. It can run on a physical or virtual Windows or Linux server and is responsible for configuration, job scheduling, resource allocation and coordination of backup and restore operations.
Veeam Plug-in for Xen: The Veeam Plug-in for Xen provides the integration between Veeam Backup & Replication and the Xen environment. It enables the backup server to communicate with Xen pools and coordinate data protection and recovery operations.
Backup Repositories: Backup repositories provide the storage location for VM backup data. During backup and restore operations, Veeam Data Movers handle data processing and transfer between the Xen Workers and the backup repositories. Depending on the repository configuration, the Data Mover runs directly on the repository server or on a designated gateway server that facilitates communication with the backup infrastructure.
Xen Workers: Workers are Linux-based virtual machines deployed on the Xen infrastructure. They handle backup workload processing and data transfer between the Xen environment and the configured backup repositories. These components work together to provide an integrated backup and recovery architecture without requiring a traditional backup agent inside every protected guest VM.
System Requirements and Compatibility
Before deploying the Veeam Plug-in for Xen, ensure that your virtualization platform and Veeam backup infrastructure meet the following requirements. Veeam Plug-in for Xen supports the following platforms:
- Vates XCP-ng: Version 8.3 and later and ensure the latest updates are applied. Since the plug-in cannot communicate with just any version of XCP-ng; it requires a specific set of updated APIs, updated
xapitoolstacks, and stable storage management daemons (smandsm-cli). Please see how to Check and Install Patches on XCP-ng 8.3 via CLI and XO Lite. - Citrix XenServer: Versions 8.4.x and 9.0.x. Note that Changed Block Tracking (CBT) requires a paid XenServer license.
Note: According to the Veeam documentation, at least one supported storage repository must be configured in the Xen pool. Supported storage types include Local EXT, NFS, LVM, LVM over iSCSI, LVM over HBA, LVM over Fibre Channel, GFS2, LINSTOR, ZFS, XFS, GlusterFS, SMB and File.
I have already met this requirement as discsussed here on how to Create an NFS Storage on Synology NAS and Present it to XCP-ng. I can verify that my existing NFS SR is Ready via the command below. This means NFS SR is presented to XCP-ng with Read/Write access, no_root_squash (“No mapping” on Synology), and async enabled, XCP-ng already exposes a Veeam-compatible SR.
xe sr-list

- Veeam Backup & Replication version 13.1.0.411 or later must be installed on the backup server.
- The default Worker deployment allocates the following resources as shown in the table below. Always consult the latest Veeam system requirements and compatibility documentation before deployment.
| Resource | Default allocation |
|---|---|
| CPU | 6 vCPU |
| Memory | 6 GB RAM |
| Disk space | 100 GB |
| Concurrent tasks | 4 |
Kindly take a look at other considerations and limitations via the Help Center. This table discusses the network ports that must be open to ensure proper communication of workers with other backup infrastructure components. For the XEn Pool permissions and Backup Server Windows Permisison, please see the following User Guide on Account Permissions. Lastly, take a look at the licensing page for some useful information.

Pleaase see Reset or reinstall Windows Server without deleting the VM, how to Build a New DC vs Swing Migration: Upgrade Server OS Correctly, and Azure File Sync : How to enable Self-Service restore.
Deploying Veeam Plug-in for Xen
Now that we have reviewed the architecture and system requirements, we can proceed with integrating the XCP-ng pool into Veeam Backup & Replication.
Note: If you have the Veeam Plug-In for Xen deleted, you can manually reinstall it on the Windows-based backup server, kidnly download it from the Veeam download page.
Connect the XCP-ng Pool to Veeam Backup and Replication
A Xen pool represents a group of hypervisor hosts managed as a single resource pool. By connecting the pool to Veeam, the backup server can discover and access the virtual machines, storage repositories and networking resources required to perform backup and recovery operations.
Here we have to register the XCP-ng Pool to Veeam Backup & Replication as shown below. To do this, open Veeam Backup and Replication as shown below and navigate to the Backup Infrastructure view.
In the inventory pane, select Managed Servers, from the ribbon, click on Add Server. You could also right click on Managed Servers and select “add Server”, or from the working area, right click and select “Add Server”.

In the Add Server window, select Virtualization Platforms.

In the Virtualization Platforms window, select XCP-ng to launch the New XCP-ng Pool wizard.

Specify the Domain Name or IP Address of XCP-ng Pool Coordinator. Since I have a standalone host, I will enter the DNS name in the field below.
Note: Veeam Backup & Replication relies on DNS records specifically forward (A) and reverse (PTR) lookups for Fully Qualified Domain Names (FQDNs)to ensure reliable communication and security across backup infrastructure components.
For more information, see “how to Switch from IP Addresses to DNS for Backup Infrastructure in VBR“. Therefore, let’s create a DNS entry as shown below.


Now in the In the DNS name or IP address field, enter the FQDN as we have created.

At the Credentials step, select or add an account with root privileges to authenticate with the XCP-ng Pool Coordinator.

Click on Apply as shown below

After clicking Apply, review the TLS certificate warning and click Continue to accept the certificate and proceed with the connection.

The pool is added to the backup infrastructure and then click Next.

At the Summary step of the wizard, check that the pool has been successfully added and click Finish.

As you can see, the XCP-ng host has been added to VBR.

Please see Unicode Manipulation: CVE-2026-25177 Privilege Escalation in AD, how to Fix failed to connect to the backup server: Make sure it is online, and how to replace Veeam Recovery Orchestrator License.
Add Worker(s)
Veeam uses Linux-based worker VMs to process backup and restore tasks and transfer data to backup repositories. It starts a worker on the selected host when a session begins, verifies its configuration and applies available updates, then shuts it down when the session finishes.
As you can see above, upon adding the XCP-ng Server, we are prompted to create a worker. Click on Yes to proceed.
Note: When you add a worker to the backup infrastructure, its configuration is saved to the Veeam Backup & Replication configuration database, but no VM is actually deployed on the host unless you choose to test the configuration. In the latter case, a VM (worker VM) is deployed and shut down after the test operation completes. As soon as a backup or restore session starts, Veeam Backup & Replication tries to launch the worker and test its configuration. If no worker VM has been previously deployed, Veeam Backup & Replication deploys the VM using the worker configuration saved to the configuration database. Veeam Backup & Replication checks host affinity settings specified for the worker and chooses a host where the worker VM will run. Then, Veeam Backup & Replication powers on the worker VM and installs system updates (if available). When the backup or restore session completes, Veeam Backup & Replication shuts down the worker VM so that it can be used for other sessions later.

If the New Xen Worker is not prompted as shown above, you can navigate thorugh the Backup Infrastructure view. From the inventory pane, select Backup Proxies. From the ribbon, select Add Proxy, and then click on Xen worker.

As you can see below, the New Xen Worker wizard is launched. Choose the specific pool and select the storage using the choose button.

Note: Local is not recommended for production. A local ISO SR is a directory created directly on the dom0 host. It’s only accessible on the host where the directory was created.

I set Max concurrent tasks to 2, instead of the default value of 4. This setting determines how many tasks a worker can process simultaneously. If all task slots are occupied, the worker waits until a running task finishes before processing another task.
Keep in mind that increasing this value also requires additional CPU and RAM resources. That is, the best practice is to allocate 1 vCPU and 1 GB RAM for each additional task while deploying a new worker or editing settings of an existing one.
To specify the amount of resources manually, click Advanced settings.

Please see How to fix Domain Join Error during Windows Deployment, SCVMM setup Error 10421: Fix VMM Service Account conflict, and SCVMM setup Fails: Fix Missing Windows ADK Deployment Files.
Network
At the Networks step, select the network to which the worker VM will connect and configure its network interface. I use DHCP to obtain the worker’s IP address and DNS settings automatically, avoiding the need for manual network configuration.
In the New Xen Worker network settings, select Pool-wide network associated with eth0 rather than Host internal management network. For IP assignment, obtain an IP address automatically works well if your network has a DHCP server with DNS/gateway options configured, while Use the following IP address is preferable if you want a predictable static IP or if your backup/storage traffic uses a dedicated subnet/VLAN.
For Network Selection, please choose between Pool-Wide Network (eth0) and Host Internal Management

- Pool-wide network associated with
eth0(Recommended): Connects the worker VM to a network available across the pool. Choose a network that provides connectivity to the Veeam Backup & Replication server, backup repositories, DNS servers and other required infrastructure. - Host internal management network: Intended for internal host management and communication. It is generally not the appropriate choice for worker traffic that needs to reach external services, such as the Veeam server or backup repositories.

Click on Ok to complete this setting

You could also ensure the default settin to check for updates is not unchecked. You can define other proxies if you have some in your environement.

In the summary window, click on Test the server configration and click on the Finish button as shown below.

If you run into error as shown below, I will show you the steps to resolve this in this blogpost “”.
30.11.2026 22:32:25 Failed : Failed to find uploaded worker VM images: The remote certificate was rejected by the provided RemoteCertificateValidationCallback. (0:00:46)
30.11.2026 22:32:26 Failed : Worker worker-tdaxcp01 test failed: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.
As you can see, we have resolved the error and successfully testing the worker from the logs below.


As you can see below, the worker VM was successfully powered on on the host.

Due to the test session, you can see the Worker VM has been powered on.

When the test or backup or restore session completes, Veeam Backup & Replication shuts down the worker VM so that it can be used for other sessions later.

Note: To modify the worker settings, use the Veeam Backup & Replication console. Making any configuration changes to VMs running as workers manually in the Xen administration portal may cause technical issues.

Configure Backup Repositories
I will not be showing the steps to configure a repository as I have shown this in six different blogposts referenced below.
A backup repository is the storage location where Veeam stores backup files and related backup data. Depending on your requirements, you can use local storage, Windows or Linux repositories, NAS storage (SMB/NFS), Veeam JeOS, deduplication appliances or cloud object storage.
Before creating backup jobs, ensure that at least one backup repository is configured in your Veeam Backup & Replication infrastructure as referenced in the hyperlinks above.. You can also combine multiple repositories into a Scale-Out Backup Repository (SOBR) to provide a unified storage architecture with performance, capacity and archive tiers.
Backup Job
A backup job defines what, where and when to run a backup, and it can process multiple VMs. But each VM can only be processed by one job at a time and the first job to start takes precedence. Before creating a backup job, kindly consider the following limitations:
- You cannot include into a backup job a VM that is being backed up by 3rd party software. Wait for the backup process to complete or stop the currently running job manually, and then add the VM to the necessary backup job.
- It will also interest you to note that you cannot backup a VM that is being restored.
- By default, Veeam Plug-in for Xen enables deduplication for backed-up data. Due to technical limitations, you cannot disable it while configuring backup jobs
- By default, backup encryption is disabled for backed-up data. However, you can enable encryption at the repository level
- Since Veeam Backup & Replication does not allow you to assign information about locations to the Xen pool and workers, job statistics do not include information on the Xen VM data migration between different geographic regions.
Now that we are aware of some of the limitations for creating a backup for XCP-ng and XenServer.
Note: Now we have a Worker deployed because we have successfully tested the worker configuration. If no worker VM has been previously deployed, Veeam Backup & Replication deploys the VM using the worker configuration saved to the configuration database.
Please see Integrate Hyper-V [SCVMM] with Veeam Recovery Orchestrator, how to Integrate Hyper-V: Install System Center Virtual Machine Manager, and How to reset Microsoft 365 User Password.
Creae a Backup Job
To launch the New Job wizard, open the Home view, select Jobs in the inventory pane, then right-click the working area and choose Backup > Virtual machine > XCP-ng or Citrix XenServer; alternatively, use the Backup Job option on the ribbon.
At the Name step, enter a unique job name (maximum 40 characters, excluding unsupported special characters) and an optional description of up to 1,024 characters.

At the Virtual Machines step, click Add

Select the specific VM techdc02 to include it in the backup scope. Only the selected VM will be processed by this backup job.

Click on Next to proceed to the repository selection.
Note: While running the job in case you selected multiple VMs, Veeam Backup & Replication processes resources in the order they are added to the backup scope. However, you can change the order, for example, if you add some mission-critical VMs to the job and want them to be processed first. To change the processing order, select a resource and use the Up or Down buttons.

At the Storage step, select the required Scale-out Backup Repository (SOBR) from the Backup repository drop-down list as the destination for the VM backups. Then configure the retention policy to define how long Veeam retains restore points in the backup chain.

Click on “Advanced Job Settings2 as shown above to help you implement a comprehensive backup strategy, Veeam Backup & Replication allows you to enable long-term retention policy for backups and to configure advanced job settings (such as notification settings, health check, active and synthetic full backups). To learn more, kindly take a look at the User Guide.
Note: To instruct Veeam Backup & Replication to periodically perform a health check for backups, switch to the Maintenance tab, select the Perform backup files health check (detects and auto-heals corruption) check box, click Configure and specify a schedule for the health check to run.

Enable Run the job automatically and configure the backup schedule by selecting the required days, start time and frequency to meet your backup requirements.

Finish and run jobs


