Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2005 09:14:21 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        "vdemart1@tin.it" <vdemart1@tin.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tarring a dump. Problems with a pipe
Message-ID:  <njd5nj8rky.5nj@mail.opusnet.com>
In-Reply-To: <200509081521.j88FL8N3085702@aristotle.tamu.edu> (Robin Smith's message of "Thu, 08 Sep 2005 10:21:03 -0500")
References:  <200509081521.j88FL8N3085702@aristotle.tamu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Robin Smith <rasmith@aristotle.tamu.edu> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?njd5nj8rky.5nj>