I want to backup my Zimbra Config & Data.
I know there is a script for it, I tried it, but this solution isn't good for me, as there is a down time (even if it's not long), and I want to be able to restore only onemailbox if needed, and so on...
I have my main mail server (Zimbra of course ), running well. In case of disaster, I have to be able to restore the mail service within the next 2 hours.
So, here what I have done :
- Making a script that make a tar of /opt/zimbra, but excludes the store directory. (So basically I just keep the Zimbra install/Configuration). This script would run each day to have a working copy of my zimbra Install.
- Making a script that backup each mailbox individually, daily. (with the REST interface)
- Installed a second Zimbra Server, not connected to the network.
If I have a problem, I would juste untar my Zimbra Config to my new Zimbra mail server (with same IP/hostname of course), then importing each mailbox again with the REST interface, then restarting Zimbra services.
I tested this configuration and it seems to work well (ie after restore, tried to send mails only locally, but it worked), but I want to know if I could get troubles with this method ?
Thanks for your advices