From: Cameron Hutchison <camh@xdna.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] restoring filesystem state using snapshot
Date: Fri Jan 9 09:57:02 2004 [thread overview]
Message-ID: <20040108233118.GA3279@imladris> (raw)
In-Reply-To: <200401082225.i08MPmp29862@ecstasy.winternet.com>
Once upon a time Ken Fuchs said...
>
> >i want to restore the filesystem state using only the snapshot taken by LVM
> >ie without taking a full backup.
>
> Will copying the contents of the snapshot over the original logical
> volume do what you want? If so, this can be done as follows:
>
> # mount /dev/vg/snapshot /snap
> # mount /dev/vg/original /orig
> # (cd /snap; tar cf - .) | (cd /orig; tar xvf -)
rsync would probably be a better option - it will copy far less and will
remove any files added after the snapshot was taken (if invoked
appropriately). /orig should end up as a replica of /snap.
next prev parent reply other threads:[~2004-01-09 9:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 12:21 [linux-lvm] restoring filesystem state using snapshot kanika nema
2004-01-08 17:22 ` Ken Fuchs
2004-01-09 9:57 ` Cameron Hutchison [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-08 17:25 Little, Chris
2004-01-09 13:19 kanika nema
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040108233118.GA3279@imladris \
--to=camh@xdna.net \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.