I have 2 dedicated servers. They have no cpanel or else, just Webmin which I don't know whether it works well or not.
Let's say A and B. A is the main server with a web application and its database.
I need to sync files in A and B except database configuration file, because I need if someone get directed to server B they will get content from the same server (A database). I need synchronization where if B has files that A doesn't then A also sync from server B. and vice versa.
Also I need database from A is backup as database in B.
I already looked in Google and it's seem that Unison can solve this.
so I need Cron Jobs which I can be explained how to change the frequency:
1. 2-way sync between 2 servers
2. Cron task to backup files and database.
3. Cron task to mirror A database to B
4. Another problem is I have difficulties to access email from IMAP or POP3. It must have been miss-setting or something. I need it to be solved.
Thanks
Hello,
I have over 8 years experience as an Linux admin. I can create the cron scripts to synchronize servers and explain howto run them and change the frequency. Please feel free to ask if you have any questions. Thank You
8 years linux experience, I am managing over 50 Linux server in current company and migrating over 10 our own high-traffic websites to new hybrid environments now.