[TAG] Re: Backing up with tar article

Karl-Heinz Herrmann kh1dump at khherrmann.de
Sat Feb 21 11:59:23 MSK 2004


On Fri, 20 Feb 2004 20:47:12 -0800 (PST)
Dave Bechtel <kingneutron at yahoo.com> wrote:

> --Thanks, but you miss the point.  Basically what I'd like to have is
> a tar-gz.rar.  As in:
> 
> tar -> gzip -9 -> rar == volume1.rar (100MB), volume2.rar (100MB) ...
> 
> --The reason for this is because rar's built-in compression is too
> slow for me, but I still want the resulting gzip-compressed backup
> split into volumes**on the fly.**  
> 
> --As of now the only way I can see doing this, is to make a tar.gz and
> -then- run rar on it to split it up and add recovery metadata, which
> requires DOUBLE the backup storage space.  I experimented with the
> flag that says "process stdin instead of filenames" but for some

Whats the problem with using split in a way like this:

tar -cv bilder/DiaScans/ | bzip2 | split -b 50m - DiascansTestTar.bz2

This will mess up target filenames somewhat (...bz2aa), but nothing an
mmv can't repair.

K.-H.




More information about the TAG mailing list