Can I separate 2 domain to store in different location folder?

Ask questions about your setup or get help installing ZCS server (ZD section below).
lukluk123
Posts: 2
Joined: Sat Sep 13, 2014 2:52 am

Can I separate 2 domain to store in different location folder?

Postby lukluk123 » Wed Aug 22, 2012 9:40 pm

Hi All,
Currently I was using ZCS on production, below are the details:

Internal IP: 192.168.0.125

Hostname: mail.abc.com.my

Zimbra Domain: admin@abc.com.my

I wish to have a backup standby server with 2 domain and the details are show below:

Internal IP: 192.168.0.132

Hostname: mail.abc.com.my

Zimbra Domain 1: admin@abc.com.my

Zimbra Domain 2: admin@bkmail.abc.com.my

Can I separate each domain store location inside backup standby server instead of all data store under location /opt/zimbra ??

Because I would like to run rsync on 192.168.0.125 for rsync the whole /opt/zimbra to 192.168.0.132 every weekend.

But this action will replace the whole /opt/zimbra folder and the 2nd zimbra domain "admin@bkmail.abc.com.my" will gone after.
Can you guys advise me what should I do to keep current setting on 192.168.0.132 after rsync?

Reason for me to build the backup standby server was in case 192.168.0.125 server are down, I can swap the backup standby server

(192.168.0.132) to temporary replace production server (192.168.0.125).


ypong
Advanced member
Advanced member
Posts: 66
Joined: Sat Sep 13, 2014 12:03 am

Can I separate 2 domain to store in different location folder?

Postby ypong » Thu Aug 23, 2012 2:57 am

if I understand you correctly, you have two email servers A and B. domainA is on A, and domainB is on B. You'd like to backup (from a filesystem perspective) files from A to B, and in the event of a failure, bring up domainA on B.
I don't think you can do this from the filesystem level (just like the opposite wouldn't work).
One possibility, however, is to create a "fake" domain called standbyDomainA on B, then use something like imapsync to synchronize all accounts from domainA to standbyDomainA regularly. This will then retain IMAP settings e.g. folders, tags etc.
On failure on server A, rename (using Zimbra GUI or CLI) standbyDomainA to domainA, and change your MX records to point to the B server, now hosting domainA as well as domainB.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: Google [Bot] and 5 guests