home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4988 < prev    next >
Encoding:
Text File  |  1992-09-01  |  3.8 KB  |  70 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!News.BelWue.DE!news.uni-tuebingen.de!mailserv!zxmsd01
  3. From: zxmsd01@mailserv.zdv.uni-tuebingen.de (Gunther Schadow)
  4. Subject: Re: tar 'multivolume' bugs and workaround workound
  5. Message-ID: <zxmsd01.715349289@mailserv>
  6. Sender: news@softserv.zdv.uni-tuebingen.de (News Operator)
  7. Organization: Comp. Center (ZDV) U of Tuebingen, FRG
  8. References: <1992Aug26.041547.26517@ntuix.ntu.ac.sg> <Btn5u7.qD@acwbust.sub.org>
  9. Date: Tue, 1 Sep 1992 12:08:09 GMT
  10. Lines: 58
  11.  
  12. I think it is most desirable to have a tar with a kind of -z option
  13. (say -Z) which does compress each file *before* dumping it into the
  14. archive. This method would be superior against just compressing the
  15. output stream of tar, what the -z option actually does. Yet it is
  16. harder to realize.  
  17.   The -z option can easily be simulated by a pipe: "tar -cf - whatever
  18. |compress >medium". -z and -M wont work together anyway in the current
  19. GNU tar. But the -Z option I am thinking of, is not realizable with a
  20. simple shell scipt. You cannot just say something like "tar -cf medium
  21. (compress whatever)".
  22.   To compress every file on your disk before archiving it is no
  23. solution, because (1) it takes time, (2) you have to uncompress
  24. afterwards and (3) the access time will be modified, so you lose
  25. information.
  26.   I think it is *urgently* necessary to invent such a -Z feature into
  27. GNU tar. The reason why this should be done is at hand: Say, you have
  28. a backup of 30 disks. If this is one huge compressed tar archive, and
  29. you loose one disk for whatever reason, you can forget about getting a
  30. single correct file back from the disks beyond that deficient disk,
  31. because uncompress gets completely out of sync. Why should you make
  32. any backup then, if you cannot rely on it in case of emergency? It is
  33. far more possible, that there is one out of 30 disks damaged -- what
  34. about number 3 :-( -- than your 120 MByte HardDisk will crash over
  35. years.
  36.   GNU tar is abel to skip over damaged records and can even start
  37. untarring from any point within the tar file, but only tar is, not
  38. uncompress. This feature of GNU tar is also useful if you don't want
  39. to spend half an hour playing disk jockey while uncompress|tar skips
  40. over 25 disks until it extracts the 20kByte file you want in a few
  41. seconds. Or even worse you made a type mistake in the file name you
  42. give to tar, or you forgot the actual path to it: Again 30 minutes of
  43. your live...
  44.   Is there anybody who backed up his 240MBytes disk in 240 floppy disk
  45. with the normal dump? Or made an extremely unreliable .tar.Z backup
  46. onto approx 180 disks? I didn't --- and I cross my fingers :-). The
  47. only backup I have is the Network; not that I had the facility to dump
  48. to an NFS, but I publish almost every good changes I made to 386BSD
  49. files onto agate.berkeley.edu.
  50.   Nice to have a tape, but can you afford to pay $50 for a 40MByte
  51. small cardridge of tape, if you need 6 of them for your level-0 dump?
  52. BTW: Has anybody tried to use a video taperecorder to dump his HD onto
  53. a cheap $2.5 videotape? This, together with a tar -Z facility would be
  54. the most convenient, cheap, secure, just effective way of archiving
  55. backup's or etc01 distributions.
  56.   These are just a few of my thoughts about backups, archives, and
  57. tar. I tried once to get into the tar sources to invent my -Z option,
  58. but I failed due to the complexity of tar's method, and mainly due to
  59. my lack of time. If there is anybody familiar with tar code, please
  60. think about my -Z ideas, and help GNU tar to become the best common
  61. archiving program!
  62.  
  63. regards
  64. -Gunther
  65. --
  66. -------------------------------------------------------------------------------
  67. Gunther Schadow,              e-mail: Gunther@mailserv.ZDV.Uni-Tuebingen.DE
  68. Sudetenstrasse 25,              Phone:  (49) 7071/37527
  69. 7400 Tuebingen, Germany.__________Stop__________Horn Please!__________O.K. TATA
  70.