home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / question / 15423 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.9 KB

  1. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!news.icl.se!ovhe
  2. From: ovhe@ki.icl.se (Ove Hedin)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Backing up a system over a TCP/IP network
  5. Message-ID: <ovhe.726694931@sw2020>
  6. Date: 10 Jan 93 19:42:11 GMT
  7. References: <1993Jan10.072624.16015@wacher.oz.au>
  8. Sender: root@icl.se (Root System)
  9. Organization: ICL Data AB, Sweden
  10. Lines: 45
  11. Nntp-Posting-Host: sw2020
  12.  
  13. pjw@wacher.oz.au (Peter Williams) writes:
  14.  
  15. >G'Day,
  16.  
  17. >Has anyone out there got a shell script or suggestion that will allow me to 
  18. >backup my SCO UNIX system using a tape drive on another machine with a TCP/IP 
  19. >connection.
  20.  
  21. >I have thought about it and am looking for some suggestions.
  22.  
  23. >Thanks in advance.
  24.  
  25.  
  26.  
  27. Hi , your TCP propably has some sort of "remote-shell" command included
  28. in it , I think SCO:s is named "remsh". With "remsh" you can pipe things
  29. over the network.
  30.  
  31. For example if you have two hosts one with SCO and one with SVR4. Then you 
  32. can use the following command to back up files from the SCO to SVR4.
  33.  
  34. find /u/data -print | cpio -ocv | remsh <svr4-nodename> dd of=/dev/rmt0
  35.  
  36. Experiment with dd's blocking factor to get the best performance.
  37.  
  38. OR !! Try GNU tar (gtar) , it invokes the right commands automatically !!
  39.  
  40. then you can simply add the node-name to the device-name.
  41.  
  42. for example 
  43.  
  44. # gtar -cvf <svr4-nodename>:/dev/rmt/c0s0 /u/data
  45.  
  46. Both solutions will need the right permissions to be set up , And with
  47. a pipe through compress also you'd even get compressed backups.
  48.  
  49. -- 
  50. -- * All opinions and questions are my own -----------------------------------
  51. Ove Hedin  Phone +46 (0)31499376 , DOMAIN Address : ovhe@ki.icl.se
  52. X400: I=O ; S=Hedin ; OU1=SWE4701 ; O=ICL Data ; P=ICL ; A=TEDE ; C=SE
  53.  
  54. --
  55. -- * All opinions and questions are my own -----------------------------------
  56. Ove Hedin  Phone +46 (0)31499376 , DOMAIN Address : ovhe@ki.icl.se
  57. X400: I=O ; S=Hedin ; OU1=SWE4701 ; O=ICL Data ; P=ICL ; A=TEDE ; C=SE
  58.