From: General Schvantzkoph on 1 Jun 2010 06:54 On Mon, 31 May 2010 21:34:31 -0700, Todd wrote: > Hi All, > > I got tasked on upgrading a 9 year old Caldera > Linux server to CentOS 5.5. The old server is so old, I am having > trouble figuring out ways to transfer the data directory I need to the > new server. No USB ports, severely broken IDE ports, a RAID card I > never heard of, a fried 4 mm tape drive, yada, yada, yada. > > And to top it off, Caldera has a very reduced set of commands. > > But tar does work on Caldera. What is the syntax to save a tar ball on > another computer? (I hope Caldera implemented that -- they did very > little else.) > > And, what do I have to do to the receiving computer to allow it to > accept a remote tar ball? > > Many thanks, > -T tar just produces a file you still need a means of transferring the file to the other machine. Does the system support ssh, NFS, ftp or rsh. If you have ssh or rsh then you could use rsync, if it supports NFS then you can export a directory from either the old machine or the new one and then mount it on the other system and them just do a cp. FTP or rsh would require you to install a server on the other system, there will be several choices for an FTP server on whatever distro you are using on the new system. RSH will be available as an option on the new system also. RSH is part of the legacy server group, it's not normally installed on modern systems because ssh replaced it but it will be available. If you have either ssh or rsh then you don't need a tar file, just use rsync (which can use either ssh or rsh as it's underlying transport). rsync -r -t -l -p src_path dest_machine:/dest_path
From: General Schvantzkoph on 1 Jun 2010 06:58 On Tue, 01 Jun 2010 10:54:53 +0000, General Schvantzkoph wrote: > On Mon, 31 May 2010 21:34:31 -0700, Todd wrote: > >> Hi All, >> >> I got tasked on upgrading a 9 year old Caldera >> Linux server to CentOS 5.5. The old server is so old, I am having >> trouble figuring out ways to transfer the data directory I need to the >> new server. No USB ports, severely broken IDE ports, a RAID card I >> never heard of, a fried 4 mm tape drive, yada, yada, yada. >> >> And to top it off, Caldera has a very reduced set of commands. >> >> But tar does work on Caldera. What is the syntax to save a tar ball on >> another computer? (I hope Caldera implemented that -- they did very >> little else.) >> >> And, what do I have to do to the receiving computer to allow it to >> accept a remote tar ball? >> >> Many thanks, >> -T > > tar just produces a file you still need a means of transferring the file > to the other machine. Does the system support ssh, NFS, ftp or rsh. If > you have ssh or rsh then you could use rsync, if it supports NFS then > you can export a directory from either the old machine or the new one > and then mount it on the other system and them just do a cp. FTP or rsh > would require you to install a server on the other system, there will be > several choices for an FTP server on whatever distro you are using on > the new system. RSH will be available as an option on the new system > also. RSH is part of the legacy server group, it's not normally > installed on modern systems because ssh replaced it but it will be > available. > > If you have either ssh or rsh then you don't need a tar file, just use > rsync (which can use either ssh or rsh as it's underlying transport). > > rsync -r -t -l -p src_path dest_machine:/dest_path If none of those are available then the obvious solution would be to pull the drive out of the old box and temporarily install it in the new box.
From: Robert Heller on 1 Jun 2010 08:38 At Mon, 31 May 2010 21:34:31 -0700 Todd <todd(a)invalid.com> wrote: > > Hi All, > > I got tasked on upgrading a 9 year old Caldera > Linux server to CentOS 5.5. The old server is > so old, I am having trouble figuring out ways > to transfer the data directory I need to the > new server. No USB ports, severely broken IDE > ports, a RAID card I never heard of, a fried > 4 mm tape drive, yada, yada, yada. > > And to top it off, Caldera has a very reduced > set of commands. > > But tar does work on Caldera. What is the > syntax to save a tar ball on another computer? > (I hope Caldera implemented that -- they did > very little else.) > > And, what do I have to do to the receiving computer > to allow it to accept a remote tar ball? A CentOS 5.5 system will have sshd running. Assuming the firewall is properly configured (to allow ssh, port 22) though, at least on your local LAN (assuming both machines are on the LAN). You should be able to do this (assuming also that the Caldera box has open ssh installed -- I would expect it does): on the Caldera box: tar cvf - files-or-directories | ssh user(a)centosbox tar xvf - > > Many thanks, > -T > -- Robert Heller -- Get the Deepwoods Software FireFox Toolbar! Deepwoods Software -- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database heller(a)deepsoft.com -- Contract Programming: C/C++, Tcl/Tk
From: General Schvantzkoph on 1 Jun 2010 09:10 On Tue, 01 Jun 2010 07:38:24 -0500, Robert Heller wrote: > At Mon, 31 May 2010 21:34:31 -0700 Todd <todd(a)invalid.com> wrote: > > >> Hi All, >> >> I got tasked on upgrading a 9 year old Caldera >> Linux server to CentOS 5.5. The old server is so old, I am having >> trouble figuring out ways to transfer the data directory I need to the >> new server. No USB ports, severely broken IDE ports, a RAID card I >> never heard of, a fried 4 mm tape drive, yada, yada, yada. >> >> And to top it off, Caldera has a very reduced set of commands. >> >> But tar does work on Caldera. What is the syntax to save a tar ball on >> another computer? (I hope Caldera implemented that -- they did very >> little else.) >> >> And, what do I have to do to the receiving computer to allow it to >> accept a remote tar ball? > > A CentOS 5.5 system will have sshd running. Assuming the firewall is > properly configured (to allow ssh, port 22) though, at least on your > local LAN (assuming both machines are on the LAN). You should be able > to do this (assuming also that the Caldera box has open ssh installed -- > I would expect it does): > > on the Caldera box: > > tar cvf - files-or-directories | ssh user(a)centosbox tar xvf - If you can do that then why not just do rsync, rsync -r -t -l -p src_dir dest_machine:/dest_path The taring and immediately untaring is just making unnecessary work. In any event the OP said that the Caldera box doesn't have ssh on it. The more I think about it the more I prefer the idea of just moving the disk from the old box to the new box and doing the copy there.
From: Robert Heller on 1 Jun 2010 09:39
At 1 Jun 2010 13:10:22 GMT General Schvantzkoph <schvantzkoph(a)yahoo.com> wrote: > > On Tue, 01 Jun 2010 07:38:24 -0500, Robert Heller wrote: > > > At Mon, 31 May 2010 21:34:31 -0700 Todd <todd(a)invalid.com> wrote: > > > > > >> Hi All, > >> > >> I got tasked on upgrading a 9 year old Caldera > >> Linux server to CentOS 5.5. The old server is so old, I am having > >> trouble figuring out ways to transfer the data directory I need to the > >> new server. No USB ports, severely broken IDE ports, a RAID card I > >> never heard of, a fried 4 mm tape drive, yada, yada, yada. > >> > >> And to top it off, Caldera has a very reduced set of commands. > >> > >> But tar does work on Caldera. What is the syntax to save a tar ball on > >> another computer? (I hope Caldera implemented that -- they did very > >> little else.) > >> > >> And, what do I have to do to the receiving computer to allow it to > >> accept a remote tar ball? > > > > A CentOS 5.5 system will have sshd running. Assuming the firewall is > > properly configured (to allow ssh, port 22) though, at least on your > > local LAN (assuming both machines are on the LAN). You should be able > > to do this (assuming also that the Caldera box has open ssh installed -- > > I would expect it does): > > > > on the Caldera box: > > > > tar cvf - files-or-directories | ssh user(a)centosbox tar xvf - > > If you can do that then why not just do rsync, > > rsync -r -t -l -p src_dir dest_machine:/dest_path > > The taring and immediately untaring is just making unnecessary work. In > any event the OP said that the Caldera box doesn't have ssh on it. Yes, I sent my reply before seeing that message. :-( I expect he does not have rsync either. The advantage of tar is that it is on the Caldera box... Apearently the Caldera does have a ftp client as well as tar. Probably the most workable option would be to make one (or more) tarballs and ftp them over (the OP will need to install vsftpd (yum install vsftpd) on the CentOS 5.5 box and enable non-anonymous ftp logins w/ write access). > > The more I think about it the more I prefer the idea of just moving the > disk from the old box to the new box and doing the copy there. Except appearently, the old Caldera box uses some old RAID card that might not be supported with the new box... It might be far more hassle to transplant something like that. I would agree if it was just a single bare drive. > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller(a)deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ |