Unix Technical Forum

Re: Copying Directory Structures

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 10:09 AM
Tom Melvin
 
Posts: n/a
Default Re: Copying Directory Structures

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
================================================== ======================
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:37 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com