restore(1) dumpfile to directory rather than filesystem --
possible? -- SOLVED
cpghost
cpghost at cordula.ws
Tue Jan 29 01:23:32 PST 2008
On Mon, Jan 28, 2008 at 06:25:32PM -0500, C Thala wrote:
> > However, I don't have an actual live filesystem available to test this
> > on....can I just restore to a directory on an existing fs to be sure?
> > Is this even possible?
>
> Never mind...to answer my own question, I had to use the "add" feature
> in the interactive shell, i.e.:
>
> $ restore -i -f dump
> restore > add etc
> restore > extract
If you want to test the *entire* dump file, you can also
use -r. Just make an empty directory somewhere, cd(1)
into it, and restore the dump there:
% mkdir /path/to/new/dir
% cd /path/to/new/dir
% restore -r -f /path/to/old/dumpfile
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list