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.
20 freelancers are bidding on average $143 for this job
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.