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