dump question
Martin Petraschek
petraschek at ftw.at
Thu Apr 7 02:13:42 PDT 2005
On Thu, 7 Apr 2005 10:47:59 +0200, dick hoogendijk wrote:
># dump -h0 -0f - /usr | gzip > /filelocation/filename.dump.gz
>
>Will this produce a good dumpfile of "/usr" ? I mean, witghout gzip it
>would have probably be something like "dump -h0 -0f
>/filelocation/filename.dump /tmp" am I right?
>
>Because I am a little short on space I want to use gzip though.
>Thanks.
This should be OK. You can even interactively (!) restore from that file
using a command like:
gunzip /filelocation/filename.dump.gz -c |restore -if -
For a full restore of all files in the dumpfile use:
cd restoredir
gunzip /filelocation/filename.dump.gz -c |restore -rf -
Martin
More information about the freebsd-questions
mailing list