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



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to