Backing up single host installations
Use the CLI to backup the pool database. To obtain a consistent pool metadata backup file, run
To restore the pool database, use the xe
After a restoration of the pool database, some VMs may still be registered as being Suspended, but if the storage repository with their suspended memory state (defined in the
Warning:
XenServer hosts restored using this method will have their UUIDs preserved. If you restore to a different physical machine while the original XenServer host is still running, there will be duplicate UUIDs. The main observable effect of this will be that XenCenter will refuse to connect to the second XenServer host. Pool database backup is not the recommended mechanism for cloning physical hosts; use the automated installation support for that (see the XenServer Installation Guide).
Backing up pooled installations
In a pool scenario, the master host provides an authoritative database that is synchronously mirrored to all the member hosts in the pool. This provides a degree of
This level of protection may not be sufficient; for example, if your shared storage containing the VM data is backed up in multiple sites, but your local server storage (containing the pool metadata) is not. To fully recreate a pool given just a set of shared storage, you must first backup the
Subsequently restoring this backup on a brand new set of hosts
1.Install a fresh set of XenServer hosts from the installation media, or over PXE.
2.Use the xe
3.Run the xe
4.Use the xe
Backing up XenServer hosts
This section describes the XenServer host control domain backup and restore procedures. These procedures do not back up the storage repositories that house the VMs, but only the privileged control domain that runs Xen and the XenServer agent.
Note:
Because the privileged control domain is best left as installed, without customizing it with other packages, Citrix recommends that you set up a PXE boot environment to cleanly perform a fresh installation from the XenServer media as a recovery strategy. In many cases you will not need to backup the control domain at all, but just save the pool metadata (see the
95