Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2008 09:34:49 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "C Thala" <cthala@gmail.com>
Cc:        freebsd <freebsd-questions@freebsd.org>
Subject:   Re: restore various level dump files
Message-ID:  <44myo5n5za.fsf@be-well.ilk.org>
In-Reply-To: <77647f500804041120veb5fa52t34e3b7ab1854bd61@mail.gmail.com> (C. Thala's message of "Fri\, 4 Apr 2008 14\:20\:13 -0400")
References:  <77647f500804041120veb5fa52t34e3b7ab1854bd61@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"C Thala" <cthala@gmail.com> writes:

> If i have 3 dump(1)-files from a filesystem and restore them via
> restore -i -f dump-file, how do I layer them together?
>
> That is, how do I tell restore that I want to restore a level 0, 1, and 2?
>
> Do I run "restore -i -f dump-0" and then "restore -i -f dump-1" and
> then "restore -i -f dump-2" in that order?
>
> Is there some way I can tell restore that more than one level is available?
>
> "restore -i -f dump-0 -f dump-1 -f dump-2" doesn't work.
>
> If I restore a level 0 and then a level 1, will the level 1 delete
> files that were removed when the level 1 was taking (like rsync -a
> --delete) or do I get a bunch of stale files lying around?

In interactive mode, you are in control of what gets restored, so
stale files can definitely get left behind.  If you want to take full
advantage of backup levels, you're best off doing a full restore on a
pristine filesystem, then working with that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44myo5n5za.fsf>