Shaun Wingrin
asked on
How to synchronise files between 2 Centos 5 Servers
Say, I use the machine to store my data e.g. xls, word, txt and other files and wish to synchronise the directories to a 2nd server at a remote location. The specific data files are to stay in sinc with each other.
There is also a MYSQL DB that I would like to synchronise across the two machines.
What can you suggest please?
There is also a MYSQL DB that I would like to synchronise across the two machines.
What can you suggest please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Please give me details and example on how to use. Will it give me a status report of sinc status?
A good start would be this tutorial, including its footnotes with further links.
rsync howto
rsync howto
ASKER
I've browsed it. Pls can you help with what file is recommended for a Centos5.5 installation and method of installation.
What specific instructions are needed to execute a rsynch over ssh between 2 servers. 1 directory called "a1" to be kept in sync between the two machines. serv1 and serv2 . How do I get the machines to login to each others rsynch service and keep it up to date? IP addresses are host names a1.dyndns.org a2.dyndns.org
Tx
What specific instructions are needed to execute a rsynch over ssh between 2 servers. 1 directory called "a1" to be kept in sync between the two machines. serv1 and serv2 . How do I get the machines to login to each others rsynch service and keep it up to date? IP addresses are host names a1.dyndns.org a2.dyndns.org
Tx
Your CentOS repository should contain 'rsync'. So you should be able to install it right away using the common CentOS software manager. I am not familiar with this one, so I cannot help you with installing using its installer.
I never give away a single fish if I can show you how to fish. This would end up in a mess as soon as there is something going wrong.
Therefor also have a look at this tutorial: rsync tutorial II
I never give away a single fish if I can show you how to fish. This would end up in a mess as soon as there is something going wrong.
Therefor also have a look at this tutorial: rsync tutorial II
ASKER
A Question, How can one protect against corruption of the data due to rsync?
rsync uses checksums internally, so you should be on the safe side with it.
ASKER
say I've setup a vpn now so essentially servers on a LAN. How do I rsynch a directory called a1 to be kept in synch on two CENTOS servers ip 192.168.10.57 and 192.168.10.58 ? Please give instructions.
ASKER
I wish to apply points...
ASKER
Still need to test
ASKER