home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14786 < prev    next >
Encoding:
Text File  |  1993-01-12  |  5.9 KB  |  138 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!Steinar.Haug
  3. From: Steinar.Haug@delab.sintef.no (Steinar Haug)
  4. Subject: Re: Backing up several HP's & GNU Tar
  5. In-Reply-To: hkarhune@hydra.Helsinki.FI's message of Tue, 12 Jan 1993 15:28:06 GMT
  6. Message-ID: <STEINAR.HAUG.93Jan12220607@delab.sintef.no>
  7. Sender: news@aun.uninett.no
  8. Nntp-Posting-Host: tosca.er.sintef.no
  9. Organization: SINTEF DELAB, Trondheim, Norway.
  10. References: <HKARHUNE.93Jan12172806@hydra.Helsinki.FI>
  11. Distribution: comp.sys.hp
  12. Date: Tue, 12 Jan 1993 21:06:07 GMT
  13. Lines: 123
  14.  
  15. hkarhune@hydra.Helsinki.FI (Heikki Karhunen) writes:
  16. > Well, I tried some native UNIX tools (find, cpio, dd, remsh, add some
  17. > piping and obfuscate) and managed to get a full backup from each and
  18. > every disk in the system to one tape. The only problem with this was
  19. > that it took some 12 hours to complete... 
  20. > At the moment I am trying out GNU Tar (version 1.11.11). The problem
  21. > with *that* is its inability to understand HP's cdf-files (Context
  22. > Dependent Files). I am trying to add support for cdfs to it, but so
  23. > far I have met with some resistance (I can make it archive them silly
  24. > buggers, but they won't come out!).
  25. > I'd like to know if someone somewhere has met up with this kind of
  26. > problems and solved them. I'd also appreciate it if someone has
  27. > already taught GNU Tar to understand about cdfs and could give me some
  28. > diffs.
  29.  
  30. Have you considered using dump/restore? Works great for us, and is especially
  31. nice in a heterogeneous environment. Here is an article I posted here some
  32. time ago about dump/restore.
  33.  
  34. Steinar Haug, system/networks administrator
  35. SINTEF DELAB, University of Trondheim, NORWAY
  36. Email: Steinar.Haug@delab.sintef.no, 
  37.     sthaug@idt.unit.no, steinar@tosca.er.sintef.no
  38. ----------------------------------------------------------------------
  39. From: Steinar.Haug@delab.sintef.no (Steinar Haug)
  40. Subject: Using BSD 4.3 dump/restore for better speed & security
  41. Message-ID: <STEINAR.HAUG.92Nov12154539@delab.sintef.no>
  42. Sender: news@ugle.unit.no (NetNews Administrator)
  43. Organization: SINTEF DELAB, Trondheim, Norway.
  44. Date: 12 Nov 92 15:45:39
  45. Lines: 89
  46.  
  47. As some of you may be aware of, I have repeatedly argued that dump/restore
  48. is (in many cases) a better alternative than fbackup or cpio for full and
  49. incremental backups.
  50.  
  51. HP supplies dump and restore as a standard part of 8.0, but unfortunately
  52. it's a rather old version. A newer version of BSD 4.3 dump/restore, with
  53. various patches from the net, is available from hpserv0.cs.uit.no, directory
  54. pub/util, as 4.3rdump_for_hpux.tar.Z. Note that this version has been ported
  55. to HP-UX by HP Labs, but HP has never made it officially available. This
  56. version, unfortunately, does not compile 'out of the box' on 400 and 700
  57. systems running 8.0.
  58.  
  59. Since we have been using dump/restore here at DELAB for several years now,
  60. with great success, I thought I would help others wanting to use it also. So
  61. I have taken the 4.3 BSD port mentioned above, made small fixes to enable
  62. compilation under 8.0, and added one new feature: Remote backup can be done
  63. to 'user@host:tapedev' instead of just 'host:tapedev'. This is a modification
  64. which has been available 'on the net', and which has been incorporated into
  65. for instance the SunOS dump/restore.  This gives increased security, since
  66. you no longer need to have all remote hosts in the .rhosts file for root on
  67. the tape host.
  68.  
  69. The advantages of using this version, compared to HP's official versions,
  70. are:
  71.     - Speed. This version runs at about double the speed, because it
  72.     uses several slave processes to read the disk, and also sets larger
  73.     send/receive buffers for the TCP connection.
  74.  
  75.     - Being able to specify the remote backup as 'user@host:tapedev', as
  76.     mentioned above.
  77.  
  78. The advantages of using dump/restore in general, compared to other tools, are:
  79.  
  80.     - Works below the file system level, therefore does not modify *any*
  81.     of the atime, ctime, mtime field of each inode.
  82.  
  83.     - Generally faster than other tools - because it reads the raw disk.
  84.  
  85.     - Can be used in a heterogeneous environment - which is *extremely*
  86.     important to us! We use dump/restore for Suns, HPs and also one MAC
  87.     running A/UX.
  88.  
  89. Some disadvantages:
  90.  
  91.     - Not the tool that HP recommends.
  92.  
  93.     - Will not handle ACLs (but will handle CDFs just fine).
  94.  
  95. Since I haven't used other tools much, I cannot really quantify the speed
  96. advantages. Suffice to say that a 700 series system, dumping to a remote
  97. Exabyte-8200 connected to a Sun, will dump around 10 to 12 MBytes/minute on
  98. a level 0 dump. The 400 series generally get around 8 MBytes/minute.
  99.  
  100. If you are interested in getting this software, here are the details:
  101.  
  102. - Original port (made by HP Labs), available with anonymous FTP from
  103. hpserv0.cs.uit.no (129.242.16.105), file
  104.  
  105.     pub/util/4.3rdump_for_hpux.tar.Z.
  106.  
  107. - Original port and my modifications, available with anonymous FTP from
  108. ugle.unit.no (129.241.1.97), files
  109.  
  110.     pub/unix/hp-ux/4.3rdump_for_hpux.tar.Z
  111.     pub/unix/hp-ux/4.3rdump_for_hpux.diffs.tar.Z
  112.  
  113. To generate: Unpack the original, remove old executables (these are for 300
  114. series running 7.0 or earlier), unpack diffs, apply diffs with patch program,
  115. then 'make rdump' in the rdump directory, and 'make rrestore' in the rrestore
  116. directory.
  117.  
  118. They have been tested on 400 and 700 series systems, running HP-UX 8.0 and 8.07
  119. respectively. Not tested for 300 or 800, but I think they should work. Also
  120. note that CDFs are handled just fine.
  121.  
  122. Enjoy!
  123.  
  124. Steinar Haug, system/networks administrator
  125. SINTEF DELAB, University of Trondheim, NORWAY
  126. Email: Steinar.Haug@delab.sintef.no, 
  127.     sthaug@idt.unit.no, steinar@tosca.er.sintef.no
  128.  
  129. PS:
  130.  
  131. HP's official version of dump will tell you when dumping if you have any files
  132. with ACLs. These are *not* dumped to tape, but at least you get to know about
  133. them. "My" version does not do this. If anybody would like to contribute the
  134. necessary code to check if any files have ACLs, I would be happy to integrate
  135. this into the version I have made available.
  136.