LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2009, 06:57 AM   #1
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.1, CentOS 5.5
Posts: 137

Rep: Reputation: 17
How to Best rsync 2 boxes (Same OS, Different Arch)


Hello Fellows,
Happy Day, I hope..

Dear all, I have this thing in hand..
I few months ago had a VPS which I spent days setting up what I need into it..
And I finally got it to work like a charm.. exactly like I need.

Alright, couple days ago.. I needed to take another one, and I went through that..

Now, I have 2 VPS.. Like below:

The Old VPS:
Code:
[root@mail /]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@mail /]# uname -a
Linux mail.Old-Domain.com 2.6.24-24-xen #1 SMP Tue Aug 18 18:15:39 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
The New VPS:
Code:
[root@mail /]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@mail /]# uname -a
Linux mail.New-Domain.com 2.6.18-128.2.1.el5.028stab064.7 #1 SMP Wed Aug 26 15:47:17 MSD 2009 i686 i686 i386 GNU/Linux
I used this command below to rsync the /home (Web Root), and was amazing..
Code:
rsync -avhe ssh /home/websites root@DIST.SERVER.IP:/home
What I'm wondering about now, is which are the directories I need to rsync so I get the exact same setup at the other side?


That's it in short.. and again.. hope you a sunny charm-full day.

- Hasan

Last edited by WhisperiN; 11-10-2009 at 07:00 AM.
 
Old 11-10-2009, 07:39 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Apparently your 'old' system has a newer kernel (2.6.24) than your 'new' system (2.6.18) ....
 
Old 11-11-2009, 03:06 AM   #3
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.1, CentOS 5.5
Posts: 137

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by chrism01 View Post
Apparently your 'old' system has a newer kernel (2.6.24) than your 'new' system (2.6.18) ....
I agree..
in fact in VPSes I noticed that you can't upgrade the kernel..
I has to be done via the VPS provider.

Any thoughts about migrating my setting and application to the new one?


Thanks..
 
Old 11-11-2009, 04:24 AM   #4
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 2,632

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
Originally Posted by WhisperiN View Post
Any thoughts about migrating my setting and application to the new one?
I know how to do this sort of thing on Debian based machines, using the installed package list and database of package configuration options, but clearly it would be different on a Red Hat based distro like CentOS. As such you may do better asking on Red Hat or Fedora forums.

However it also depends on how much of your configuration was done within the framework of the package manager and how much was done by hand.

Regarding what directories you need to sync, depends on what you've installed and configured.

Evo2.
 
Old 11-11-2009, 05:35 AM   #5
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.1, CentOS 5.5
Posts: 137

Original Poster
Rep: Reputation: 17
Thanks Evo, I'll follow your advice.

Regards..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3 Ubuntu boxes with Samba - One finds all XP shares - Two UltraSparc64 boxes do not mwx Linux - Server 1 01-28-2009 06:03 AM
rsync between 2 boxes using usb cable tequesta Linux - General 5 10-23-2008 12:53 PM
If desktops are refered to as boxes do you also refer to laptops as boxes? dr_zayus69 General 14 12-24-2005 03:46 PM
win2000 boxes cannot map but winnt boxes can - same user! starbeetlechick Linux - Networking 0 07-24-2003 07:24 AM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration