Hello,

[Apologies for thread necromancy]

On Tue, Oct 05, 2010 at 09:01:36AM -0500, Serge E. Hallyn wrote:
> Quoting Tapas Mishra (mightydre...@gmail.com):
> > Can an LVM be copied or transferred to some remote server in a similar
> > fashion as
> > I can do with ISO.(Not asking rsync)

[...]

> There might be a nifty way of copying it as though it were a file, but
> I think I would do something like
> 
>       dd if=/dev/mapper/myvolume of=- | ssh $remotehost dd of=newfile

You can also use something like this:

    http://theshed.hezmatt.org/lvmsync/

which has the advantage that you can do the first run from a
snapshot while the guest is running, then the final run from the
real LV with the guest shut down.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

Attachment: signature.asc
Description: Digital signature

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to