home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5663 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.7 KB  |  53 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!munnari.oz.au!uniwa!cujo!colin
  3. From: colin@cs.curtin.edu.au (Colin Manning)
  4. Subject: Re: backup w/ compression for UN*X?
  5. Message-ID: <colin.716442459@marsh>
  6. Sender: news@cujo.curtin.edu.au (News Manager)
  7. Organization: Curtin University of Technology
  8. 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>
  9. Date: Mon, 14 Sep 1992 03:47:39 GMT
  10. Lines: 41
  11.  
  12. brtmac@maverick.ksu.ksu.edu (Brett McCoy) writes:
  13.  
  14. >In article <1992Sep06.104350.2659@rubikon.han.de> toad@rubikon.han.de
  15. >(Peter Cleve) writes:
  16.  
  17. >>Something like this: (Not a ready to go script, but it shows the idea)
  18. >>
  19. >>YourFavoriteArchiver |
  20. >>YourFavoriteCompress | (
  21. >>       echo Insert Media > /dev/tty
  22. >>       read dummy < /dev/tty
  23. >>       dd of=YourFavoriteDevice bs=Foo count=YourFavoriteMediaSize
  24. >>)
  25. >>
  26. >>Reading from the Media should be implemented easily too.
  27.  
  28. >There is a serious problem with this scheme.  You have to read every
  29. >single disk, or whatever, to get a file that is on the last disk.
  30. >Also, if a disk in the middle of the dump is bad there is no way to
  31. >get the data from the disks following the bad one because you can't
  32. >start reading a compressed file in the middle.
  33.  
  34. >++Brett;
  35.  
  36. What about:
  37.  
  38. find / -name "*" -exec "ind-comp"{}";"
  39.  
  40. where ind-comp is:
  41. compress $1
  42. tar -r $1
  43. uncompress $1
  44.  
  45. I'm not sure on the syntax, but you should get the general idea.
  46.  
  47. Colin.
  48. --
  49. Colin [colin@cs.curtin.edu.au]
  50.  
  51. "Knowledge is not knowing all the answers, but knowing where to find them."
  52.                                                                   -anon.
  53.