[CentOS] OT: backing up lvm2 xen disks

Mon Jan 28 12:37:52 UTC 2008
carlopmart <carlopmart at gmail.com>

Hi all,

  I need to backup two xen server hosts with several lvm partitions to store xen 
guests data (all guests are para-virtualized CentOS guests). My intention it is 
to do a full backup of lvm2 partition where SO resides ( I don't have created 
lvm2 partitions with snapshot option). Will this procedure works?

  To backup

- dd if=/dev/sysvol/vol01 of=backup.img

  to restore on another xen host with different name on lvm2 volumes:

  - dd if=backup.img of=/dev/xenhostvol/xenguestvol01

Mnay thanks.
-- 
CL Martinez
carlopmart {at} gmail {d0t} com