home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12828 < prev    next >
Encoding:
Text File  |  1992-11-12  |  4.1 KB  |  100 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!Steinar.Haug
  3. From: Steinar.Haug@delab.sintef.no (Steinar Haug)
  4. Subject: Using BSD 4.3 dump/restore for better speed & security
  5. Message-ID: <STEINAR.HAUG.92Nov12154539@delab.sintef.no>
  6. Sender: news@ugle.unit.no (NetNews Administrator)
  7. Organization: SINTEF DELAB, Trondheim, Norway.
  8. Date: 12 Nov 92 15:45:39
  9. Lines: 89
  10.  
  11. As some of you may be aware of, I have repeatedly argued that dump/restore
  12. is (in many cases) a better alternative than fbackup or cpio for full and
  13. incremental backups.
  14.  
  15. HP supplies dump and restore as a standard part of 8.0, but unfortunately
  16. it's a rather old version. A newer version of BSD 4.3 dump/restore, with
  17. various patches from the net, is available from hpserv0.cs.uit.no, directory
  18. pub/util, as 4.3rdump_for_hpux.tar.Z. Note that this version has been ported
  19. to HP-UX by HP Labs, but HP has never made it officially available. This
  20. version, unfortunately, does not compile 'out of the box' on 400 and 700
  21. systems running 8.0.
  22.  
  23. Since we have been using dump/restore here at DELAB for several years now,
  24. with great success, I thought I would help others wanting to use it also. So
  25. I have taken the 4.3 BSD port mentioned above, made small fixes to enable
  26. compilation under 8.0, and added one new feature: Remote backup can be done
  27. to 'user@host:tapedev' instead of just 'host:tapedev'. This is a modification
  28. which has been available 'on the net', and which has been incorporated into
  29. for instance the SunOS dump/restore.  This gives increased security, since
  30. you no longer need to have all remote hosts in the .rhosts file for root on
  31. the tape host.
  32.  
  33. The advantages of using this version, compared to HP's official versions,
  34. are:
  35.     - Speed. This version runs at about double the speed, because it
  36.     uses several slave processes to read the disk, and also sets larger
  37.     send/receive buffers for the TCP connection.
  38.  
  39.     - Being able to specify the remote backup as 'user@host:tapedev', as
  40.     mentioned above.
  41.  
  42. The advantages of using dump/restore in general, compared to other tools, are:
  43.  
  44.     - Works below the file system level, therefore does not modify *any*
  45.     of the atime, ctime, mtime field of each inode.
  46.  
  47.     - Generally faster than other tools - because it reads the raw disk.
  48.  
  49.     - Can be used in a heterogeneous environment - which is *extremely*
  50.     important to us! We use dump/restore for Suns, HPs and also one MAC
  51.     running A/UX.
  52.  
  53. Some disadvantages:
  54.  
  55.     - Not the tool that HP recommends.
  56.  
  57.     - Will not handle ACLs (but will handle CDFs just fine).
  58.  
  59. Since I haven't used other tools much, I cannot really quantify the speed
  60. advantages. Suffice to say that a 700 series system, dumping to a remote
  61. Exabyte-8200 connected to a Sun, will dump around 10 to 12 MBytes/minute on
  62. a level 0 dump. The 400 series generally get around 8 MBytes/minute.
  63.  
  64. If you are interested in getting this software, here are the details:
  65.  
  66. - Original port (made by HP Labs), available with anonymous FTP from
  67. hpserv0.cs.uit.no (129.242.16.105), file
  68.  
  69.     pub/util/4.3rdump_for_hpux.tar.Z.
  70.  
  71. - Original port and my modifications, available with anonymous FTP from
  72. ugle.unit.no (129.241.1.97), files
  73.  
  74.     pub/unix/hp-ux/4.3rdump_for_hpux.tar.Z
  75.     pub/unix/hp-ux/4.3rdump_for_hpux.diffs.tar.Z
  76.  
  77. To generate: Unpack the original, remove old executables (these are for 300
  78. series running 7.0 or earlier), unpack diffs, apply diffs with patch program,
  79. then 'make rdump' in the rdump directory, and 'make rrestore' in the rrestore
  80. directory.
  81.  
  82. They have been tested on 400 and 700 series systems, running HP-UX 8.0 and 8.07
  83. respectively. Not tested for 300 or 800, but I think they should work. Also
  84. note that CDFs are handled just fine.
  85.  
  86. Enjoy!
  87.  
  88. Steinar Haug, system/networks administrator
  89. SINTEF DELAB, University of Trondheim, NORWAY
  90. Email: Steinar.Haug@delab.sintef.no, 
  91.     sthaug@idt.unit.no, steinar@tosca.er.sintef.no
  92.  
  93. PS:
  94.  
  95. HP's official version of dump will tell you when dumping if you have any files
  96. with ACLs. These are *not* dumped to tape, but at least you get to know about
  97. them. "My" version does not do this. If anybody would like to contribute the
  98. necessary code to check if any files have ACLs, I would be happy to integrate
  99. this into the version I have made available.
  100.