This is a discussion on Re: Copying Directory Structures within the Sco Unix forums, part of the Unix Operating Systems category; --> Joe Burns made comment on Tue Jul 22 12:58:17 2003 : > I am in the process of converting ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Joe Burns made comment on Tue Jul 22 12:58:17 2003 : > I am in the process of converting a customer from an old SCO 5.0.5 server > (they have been running this hardware for about 10 years) to a new server > running SCO 5.0.6. I have the new SCO Enterprise version installed and can > do a "rlogin" across the network to the other system. Now I need to copy > the entire contents, with the same file ownerships, groups, etc intact, from > the old system to the new system. I can't remember how to do that. I > believe that I used to use UUCP between servers when I would dial-up from > one city to the other (about 10 years ago), but I never had to do this > process across an Ethernet connection. Would I use "uucp" or "rcp" or > something else? What is the syntax of the command. Let's say, for the > purposes of this example, that the names of the systems are "oldsystem" and > "newsystem" and the IP addresses are 192.168.1.1 and 192.168.1.2 > respectively. > One option that has not been mentioned yet: OldSystem> tar cvf /tmp/blah /path/to/directory/to/copy OldSystem> gzip /tmp/blah Now use rcp, ftp, floppy, tape etc. to copy /tmp/blah.gz to NewSystem NewSystem> gzip -d /tmp/blah.gz NewSystem> tar xvf /tmp/blah Yes you could use a couple of pipelines to reduce the number of commands and temp files - but it is easy to follow this way :-) Tom -- ================================================== ====================== Tom Melvin tom@tkrh.demon.co.uk http://www.tkrh.demon.co.uk Veterinary Solutions Ltd Sysop Compuserve Unixforum ================================================== ====================== |