home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / admin / 6323 < prev    next >
Encoding:
Text File  |  1992-11-21  |  4.0 KB  |  102 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!fang!tarpit!bilver!bill
  3. From: bill@bilver.uucp (Bill Vermillion)
  4. Subject: Re: Reliable backup software
  5. Organization: W. J. Vermillion - Winter Park, FL
  6. Date: Sun, 22 Nov 1992 03:43:52 GMT
  7. Message-ID: <1992Nov22.034352.19580@bilver.uucp>
  8. References: <2978@mitisft.Convergent.COM>
  9. Lines: 91
  10.  
  11. In article <2978@mitisft.Convergent.COM> dold@mitisft.Convergent.COM (Clarence Dold) writes:
  12. >From article <1992Nov13.200327.6049@panix.com>, by dans@panix.com (Dan Simoes):
  13.  
  14. >>     Recently there have been a few articles in the *ix magazines about
  15. >> backup software.  Basically they focused on the fact that you never really 
  16. >> know your data is safe unless you do a restore of that data.
  17.  
  18. >There was a comment about LoneTar being junk.  There are three very closely
  19. >related companies, LoneStar, Cactus International, and UniTrends.  They
  20. >offer almost identical products except that UniTrends offers CTar, rather
  21. >than LoneTar.  CTar offers a "ctar -t" option, just like tar -t, and ctar
  22. >-T, where the UpperCase causes a true compare.  After a full backup, the -T
  23. >option tells me that /etc/utmp is a different size, and that /etc/wtmp
  24. >failed to compare (or vice versa).
  25.  
  26. Well there was a program that floated across the net a couple of years
  27. ago.  I use it for checking files I archive permanently to floppies,
  28. and it picks up errors now and then.   I use ctar for others and
  29. assumed it's verify really works.
  30.  
  31. I don't have much info on this as it appears I stripped the headers
  32. from the file.
  33.  
  34. This shows where it came from.
  35. /*+-------------------------------------------------------------------------
  36.     cktar.c - read a tar tape and compare against file system
  37.     wht@n4hgf.Mt-Park.GA.US
  38. --------------------------------------------------------------------------*/
  39. /*+:EDITS:*/
  40. /*:11-08-1990-16:34-wht-creation */
  41.  
  42.  
  43. And here is the 'doc' section.
  44.  
  45. char *usage_text[] =
  46. {
  47. "usage: cktar [-t] [-v] [-A] [-U] [-G] [-M] [-f tar_input_file] [--]",
  48. "This program reads a tar input file and compares each",
  49. "file on the volume with a matching file on disk.",
  50. "",
  51. "If a file on the tar file has the same length as a file on the",
  52. "disk, the files are compared byte for byte and the byte position",
  53. "of the first nonmatching byte is printed.",
  54. "",
  55. "If a file on the tar file has a different length from a file on",
  56. "the disk, this fact is noted.",
  57. "",
  58. "If the -U switch is present, UIDs must match.  If the -G switch is",
  59. "present, gids must match.  If the -M switch is present, times of last",
  60. "modification must match.",
  61. "",
  62. "With -t or -v switch, no output is produced for matching files.",
  63. "With -t, a title is printed for each file regardless of match.",
  64. "With -v, this output is expanded to show all attributes of the file",
  65. "on the tar file as well as the match status.",
  66. "",
  67. "If you wish to have cktar read from stdin and do not wish to use",
  68. "any of the available switches, use the '--' switch.",
  69. "",
  70. "The -A switch acts like the tar A key, causing a leading '/' in",
  71. "a tar input filename to be elided.",
  72. "",
  73. "Exceptions are reported by codes appearing after filenames:",
  74. "   A - stat access denied",
  75. "   N - non-existent file",
  76. "   U - uid difference",
  77. "   G - gid difference",
  78. "   T - time of last modification difference",
  79. "   S - size difference",
  80. "   C - comparison failed at position shown by decimal value after C",
  81. "The 'S' and 'C' codes will never appear together, 'A' and 'N' will",
  82. "never appear together or with any other codes, but any other mixture",
  83. "of codes is possible.  Only the C code has a decimal file position",
  84. "appended.",
  85. "",
  86. (char *)0
  87. };
  88.  
  89.  
  90. The source is about 14k.  There is no copyright in the copy I have.
  91.  
  92. If someone knows who wht@n4hgf is, or if he's reading this, I'd just as
  93. soon have the author repost it.  If not, I guess I could put it here
  94. (or somewhere appropriate).
  95.  
  96.  
  97. -- 
  98. Bill Vermillion - bill@bilver.oau.org  bill.vermillion@oau.org
  99.                 - bill@bilver.uucp 
  100.                 - ..!{peora|tous|tarpit}!bilver!bill
  101.  
  102.