I have backuped a virtual machine from one centOS6.3 system. I used the following procedure for backup.
1. First dump the xml file:
/usr/bin/virsh dumpxml AlchemyServer | cat > centaur.conf
2. backup the vg_os volume
/sbin/vgcfgbackup -f /u1/lvmSnap/centaur-OS.cfg
3. backup the vg_Data volume
/sbin/vgcfgbackup -f /u1/lvmSnap/$centaur-Data.
4. create a snapshot volume
/sbin/lvcreate -s -L 50G -n alchemySnap /dev/vg_Data/alchemy
5. start the vm
/usr/bin/virsh start AlchemyServer
6. backup the snapshot volume
p | /bin/gzip | /bin/dd of=alchemy.OS20140920.dd.g
Now I need recover this vm from the backup achieve file above, I first created a volume on the destination machine after I unzipped the archieve:
/sbin/lvcreate -L 50G -n alchemy /dev/data
Then I tried to enter the GUI by running virt-manager. However, when I am inside this interface, I don't know how to make the virtual machine. I tried to make the new virtual machine exactly the same as the original one, but when I boot it, it got the error.