Re: How do you backup a LVM LV?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Dec 13, 2007 12:05 AM, Christian Nygaard <christiannygaard@xxxxxxxxx> wrote:
> I have a virtual machine in a Xen LV, that I would like to backup from hostA
> to hostB
> because hostA is software broken. How do I copy and recreate that LV on
> hostB?

Create an identicaly sized LV on machine B.
Use lvdisplay to get the size.
Then using ssh and dd :

from hostA :

# dd if=/dev/yourVG/yourLV  | ssh hostB dd of=/dev/yourVGB/yourLVB


Regards


>
> Greets,
> Chris
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux