From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 15:21:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A50916A41F for ; Thu, 8 Sep 2005 15:21:33 +0000 (GMT) (envelope-from rasmith@aristotle.tamu.edu) Received: from aristotle.tamu.edu (Aristotle.tamu.edu [128.194.75.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D2943D45 for ; Thu, 8 Sep 2005 15:21:33 +0000 (GMT) (envelope-from rasmith@aristotle.tamu.edu) Received: from aristotle.tamu.edu (localhost [127.0.0.1]) by aristotle.tamu.edu (8.13.1/8.13.1) with ESMTP id j88FL8N3085702; Thu, 8 Sep 2005 10:21:29 -0500 (CDT) (envelope-from rasmith@aristotle.tamu.edu) Message-Id: <200509081521.j88FL8N3085702@aristotle.tamu.edu> To: "vdemart1@tin.it" In-Reply-To: Message from "vdemart1@tin.it" of "Thu, 08 Sep 2005 15:57:03 BST." <20716527.1126191423267.JavaMail.root@pswm11.cp.tin.it> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Thu, 08 Sep 2005 10:21:03 -0500 From: Robin Smith Cc: freebsd-questions@freebsd.org Subject: Re: tarring a dump. Problems with a pipe X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 15:21:33 -0000 >>>>> "vdemart1@tin" == 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