*BSD News Article 4588


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!rz.uni-hildesheim.de!agsc!rubikon.han.de!toad
From: toad@rubikon.han.de (Peter Cleve)
Subject: Re: backup w/ compression for UN*X?
References: <1992Sep3.165702.3809@gateway.novell.com> <1992Sep4.085828.10853@ntuix.ntu.ac.sg>
Organization: Rubikon Rethen BRD
Date: Sun, 06 Sep 92 10:43:50 GMT
Message-ID: <1992Sep06.104350.2659@rubikon.han.de>
Lines: 28

In <1992Sep4.085828.10853@ntuix.ntu.ac.sg> eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) writes:

>: Doesn't gnutar support -z (LZW compression)?
>Cannot do multi-volume, at least the 386bsd one. The reason is due to
>the fact that it gnu tar just pipes it through compress, instead of
>incorporating it before the multivolume archiving.
>	The trick is to call the compress before the archiving.

>Any ideas?

Something like this: (Not a ready to go script, but it shows the idea)

YourFavoriteArchiver |
YourFavoriteCompress | (
	echo Insert Media > /dev/tty
	read dummy < /dev/tty
	dd of=YourFavoriteDevice bs=Foo count=YourFavoriteMediaSize
)

Reading from the Media should be implemented easily too.

By

It would nice if someone put this in a ready to go script and post it here

-- 
Peter Cleve, Hildesheimer Str. 316, 3014 Laatzen 3, Tel. 05102/1854 (Voice)
  Energiesparen ist das moralische Aequivalent zum Krieg. (Jimmy Carter)