Re: compressed mode for tape drive

rfi_at_usa.com
Date: 10/27/04


Date: Wed, 27 Oct 2004 08:02:22 -0400

I am pretty sure,a nd someone please correct me if i am wrong here-

Adding the z switch to tar causes it to compress over the entire tar
file, that is it is the same as creating a tar file and the
compressing the tar file.

I would much rather compress over each file, then tar the compressed
files together. This is a bit less efficent as all of the directory
contents of the tar file are not compressed.

The plus side is that any given error(s) will only hose the file(s)
the errors are in, and not the entire backup.

For casual use this is probabley not a big deal, but if you really
need to depend on your backups, and sometimes pull things back that
are years old, it is a consideration.

On Sun, 24 Oct 2004 18:57:39 -0500, ibuprofin@painkiller.example.tld
(Moe Trin) wrote:

>In article <417b7901$0$18659$626a14ce@news.free.fr>, Stef SM wrote:
>
>>Do you know if it is usefull to use compress (cvzf) when all the files you
>>backup are already compressed (with gzip for example) ?
>
>No, and often it makes the files slightly larger instead
>
> Old guy



Relevant Pages

  • Re: backup compress on the fly
    ... > wretched tape is filling up and asking for another. ... then I recommend you *not* to compress your backups. ... Abandon cpio and use a tar which can compress/decompress as it goes. ... To test the backup, use ...
    (Debian-User)
  • Re: FTPing a folder across to remote webspace
    ... > lot of repeated test it will compress a lot. ... > gzip only processes single files, so yes you should tar first. ... > In your message you mentioned databases, but not which sort of database. ... MySQL backup. ...
    (uk.comp.os.linux)
  • Compression to a fit a space...
    ... get to fit. ... My current implementation simply builds a tar one file at a time, ... However these logs compress quite substantially, ...
    (comp.os.linux.development.apps)
  • Re: Compression to a fit a space...
    ... However these logs compress quite substantially, ... > the uncompressed tar could conceivably grow quite large if I were to feed ... > will extract each part as it encounters it in the file, ...
    (comp.os.linux.development.apps)
  • Re: zip /gzip in bash
    ... How can i use use gzip to compress and tar to append the other file: ... To unsubscribe or change subscription options: ...
    (Fedora)