Date: Thu, 08 Sep 2005 10:21:03 -0500 From: Robin Smith <rasmith@aristotle.tamu.edu> To: "vdemart1@tin.it" <vdemart1@tin.it> Cc: freebsd-questions@freebsd.org Subject: Re: tarring a dump. Problems with a pipe Message-ID: <200509081521.j88FL8N3085702@aristotle.tamu.edu> In-Reply-To: Message from "vdemart1@tin.it" <vdemart1@tin.it> of "Thu, 08 Sep 2005 15:57:03 BST." <20716527.1126191423267.JavaMail.root@pswm11.cp.tin.it>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "vdemart1@tin" == vdemart1@tin it <vdemart1@tin.it> writes:
vdemart1@tin> I'm getting accostumed to dump my fbsd 5.4
vdemart1@tin> filesystems with "dump" on files in a samba
vdemart1@tin> share. Now, I'd like to compress the dumped files
vdemart1@tin> "in the making" (for instance piping it via tar) but
vdemart1@tin> I don't know how to do it.
For a level 0 dump (change level to suit
dump -0 -f - /dev/yourfilesystem |bzip2 -c >dump.bz
Don't use tar: you want to compress one big file, not create an
archive of lots of files.
This will be slower than just doing a plain dump to file, but the
compression ratio can be huge.
Robin Smith
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509081521.j88FL8N3085702>
