I’m looking for a way to create Xen (HVM) backups, using LVM. I know
xm save but that is a) inefficient space wise, b) the VM will shut down. I found
rsnapshot which is able to create an LVM snapshot, but to restore this I will have to copy all files over to the machine (instead of just restoring the complete LVM, everything seems to be individual files).
Is there any backup software you recommend? I’m running CentOS on my Xen host. Some requirements:
- It can be paid software but not too expensive (personal use)
- It should have differential (like a full backup, then an incremental backup (to preserve space)).
- Easy to restore the Xen VM (currently
rsnapshotneeds to copy all files over, instead of one
.imgfile to restore or something similar).
Thanks in advance.
If this is for personal use I would recommend to
- Snapshot the LV (an LV corresponds to a DomU-disk, I assume?)
- Make a full copy of that LV into a Backup-LV of the same size
If it is a Linux filesystem you can just use
mkfs and then do an rsync from the RO-mounted source to the RW-mounted target.
If it is NTFS use the NTFS-tools described at CentOS.org.