Snapshot-based backup of virtual machines on XenServer 5.5
One of the most important new features of XenServer 5.5 is the ability to make and manage snapshots of virtual machines regardless of the type of storage repository. This obviously has an important impact on backup procedures.
A little 'time ago, I published a simple bash script to run on XenServer (5.0) to turn off and make the export of virtual machines. This type of solution is very simple, has the obvious disadvantages in that it is necessary to take off the VM all the time needed for backup!
With XenServer 5.5, it becomes much easier: you can create a snapshot and backup of the snapshot.
The idea has been materialized by Jeremy Tirrel community on the Citrix blog and subsequently amended by Roberto Cespa. The basic idea is as follows: create a snapshot, make the snapshot a VM, make exports a file system (NFS), and delete VM snapshots. Remains the problem of consistency of the snapshot, a problem mitigated with the installation of XenServer Windows VSS provider that allow you to take advantage of Windows Shadow Copy Services.
I remind you, however, that "XenServer Windows VSS provider" must be installed manually after installing XenTools, as reported in the XenServer Virtual Machine Installation Guide (see page 11).
For more information:
- 0 downtime snapshot based backup XenServer 5.5 script by Jeremy Tirrel
- Backing up Xen virtual machines without interruption Roberto Cespa
Other articles on similar topics:
- Backup with Deduplication of virtual machines on XenServer with QuorumSoft ALIKI
- Backup of VM on Citrix XenServer: yet another script
- Hot backup of virtual machines on Microsoft Hyper-V
- Backup VMs on XenServer
- Citrix XenServer Virtual Machine Backup white paper
- Migrate virtual machines from xend Xen Cloud Platform
- PHD Virtual Backup for XenServer releases. Soon the version for Hyper-V

Hello!
If you only use linux is a great solution to what I saw ..
But I have not learned yet how do you restore the backup.
You've got to try, because it is not yet explained.
Hello and congratulations!