Date: Thu, 07 Apr 2005 11:15:33 +0200 From: "Martin Petraschek" <petraschek@ftw.at> To: "dick@nagual.st" <dick@nagual.st> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: dump question Message-ID: <BLACKHOLEuERIqVDokS0000289b@mail.ftw.at> In-Reply-To: <20050407104759.1475f3f0.dick@nagual.st>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLACKHOLEuERIqVDokS0000289b>