From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 16:12:28 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 E068016A41F for ; Thu, 8 Sep 2005 16:12:28 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93DE243D46 for ; Thu, 8 Sep 2005 16:12:28 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A2E612680124; Thu, 08 Sep 2005 09:12:22 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j88GERc7079983; Thu, 8 Sep 2005 09:14:27 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j88GELES079982; Thu, 8 Sep 2005 09:14:21 -0700 (PDT) (envelope-from garys@opusnet.com) To: "vdemart1@tin.it" References: <200509081521.j88FL8N3085702@aristotle.tamu.edu> From: garys@opusnet.com (Gary W. Swearingen) Date: Thu, 08 Sep 2005 09:14:21 -0700 In-Reply-To: <200509081521.j88FL8N3085702@aristotle.tamu.edu> (Robin Smith's message of "Thu, 08 Sep 2005 10:21:03 -0500") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 16:12:29 -0000 Robin Smith writes: > dump -0 -f - /dev/yourfilesystem |bzip2 -c >dump.bz I compressed a filesystem dump (on Athlon 64/3200+, i386 OS) and bzip2 compressed to 50% of 2 GB in 1118 sec gzip compressed to 52% of 2 GB in 306 sec But bzip2 can compress much better than that on some stuff. If your goal is a small backup, bzip compresses better. If your goal is a quick backup to disk, gzip is faster. If your goal is a quick backup to tape, bzip is faster because tape is so slow, unless your CPU can't keep up.