LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Thread Tools Search this Thread
Old 11-11-2009, 05:36 AM   #1
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.0, CentOS 5.3
Posts: 88
Thanked: 2
Question I need to RSYNC 2 Servers (Same OS, Different Arch)


[Log in to get rid of this advertisement]
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.

Note: I posted this earlier in Servers, and was advised to post it here

- Hasan
windows_xp_2003 WhisperiN is offline     Reply With Quote
Old 11-11-2009, 06:05 PM   #2
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.0, CentOS 5.3
Posts: 88
Thanked: 2

Original Poster
hummmm..

Any idea please
windows_xp_2003 WhisperiN is offline     Reply With Quote
Old 11-13-2009, 11:10 AM   #3
DrLove73
Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.4 i386 & x86_64
Posts: 567
Thanked: 59
Well, you will want /root folder also. And most likely ONLY SOME of the files.

But DO NOT RSYNC directly what ever you choose!!!!!

Your kernel is not the same (Old one is HARDLY CentOS with 2.6.24 kernel) and also the arch.

I would do it ONLY by hand, service by service, daemon by daemon. Any other way is putting your head in the bag.
linux DrLove73 is online now     Reply With Quote
Old 11-14-2009, 08:06 AM   #4
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.0, CentOS 5.3
Posts: 88
Thanked: 2

Original Poster
Thanks for that info..

I'd love to see other opinions..

Regards..
windows_xp_2003 WhisperiN is offline     Reply With Quote

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync error on multiple servers ZigZam Linux - Software 2 01-20-2010 08:16 PM
How to Best rsync 2 boxes (Same OS, Different Arch) WhisperiN Linux - Server 4 11-11-2009 06:35 AM
Can I use rsync to create mirror two servers with different OS Deadbeat456 Linux - Server 3 06-25-2008 08:44 AM
A couple questions about Arch servers and Python vs PHP... sajro Linux - Server 2 03-08-2008 05:02 PM
Mirroring servers using RSYNC RKris Linux - Networking 1 05-15-2003 07:26 AM


All times are GMT -5. The time now is 02:52 PM.

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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration