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