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

Re: lvm: creating a snapshot



You can copy with dd from the snapshot to another block device or a
file. That file can be on the same computer or you can get it to
another computer by using netcat, NFS, rsync etc.

On Tue, 7 Oct 2014 19:10:54 -0400
John Holland <jholland@vin-dit.org> wrote:

> It's been a while since I dealt with lvm snapshots but they are
> available as I guess block devices somehow, you might have to google
> to find out how to get the exact path to the snapshot.
> 
> On Sun, 05 Oct 2014 21:47:05 +0200
> lee <lee@yagibdah.de> wrote:
> 
> > John Holland <jholland@vin-dit.org> writes:
> > 
> > > I think you can pipe output of dd on the source to netcat, going
> > > to a netcat  on the destination  machine which is piped to dd
> > > going to a device or file on that machine.
> > 
> > Hm, assuming that the volume group resides on /dev/sda3, I would
> > have something like 'dd if=/dev/sda3 ...'.  That would read the
> > partition rather than the volume group, and I'm not sure whether
> > that would be the same or not in this case:  How would I restore
> > from such a backup?
> > 
> > 
> 
> 
> 



-- 
John Holland
jholland@vin-dit.org
gpg public key ID 0x9551CF2D 


Attachment: signature.asc
Description: PGP signature


Reply to: