Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uniwa!cujo!colin From: colin@cs.curtin.edu.au (Colin Manning) Subject: Re: backup w/ compression for UN*X? Message-ID: <colin.716442459@marsh> Sender: news@cujo.curtin.edu.au (News Manager) Organization: Curtin University of Technology References: <1992Sep3.165702.3809@gateway.novell.com> <1992Sep4.085828.10853@ntuix.ntu.ac.sg> <1992Sep06.104350.2659@rubikon.han.de> <BRTMAC.92Sep6140131@maverick.ksu.ksu.edu> Date: Mon, 14 Sep 1992 03:47:39 GMT Lines: 41 brtmac@maverick.ksu.ksu.edu (Brett McCoy) writes: >In article <1992Sep06.104350.2659@rubikon.han.de> toad@rubikon.han.de >(Peter Cleve) writes: >>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. >There is a serious problem with this scheme. You have to read every >single disk, or whatever, to get a file that is on the last disk. >Also, if a disk in the middle of the dump is bad there is no way to >get the data from the disks following the bad one because you can't >start reading a compressed file in the middle. >++Brett; What about: find / -name "*" -exec "ind-comp"{}";" where ind-comp is: compress $1 tar -r $1 uncompress $1 I'm not sure on the syntax, but you should get the general idea. Colin. -- Colin [colin@cs.curtin.edu.au] "Knowledge is not knowing all the answers, but knowing where to find them." -anon.