So I figured a good thing to do today would be to take the backup folder from the current Zimbra server and try to build a new server from it.
I moved the current backups from the backup folder and took a fresh full backup to make my life a little easier and once the backup was done I put it somewhere safe and pretended like I could not access the old (live production) server anymore.
I built a new box and installed zimbra on it as per the disaster recovery document in the wiki. It had something of a hiccup when it came to restoring the data due to a mismatched LDAP password. I have no idea what the old LDAP password was so I searched around on these forums and tried a few things, I didnt take notes but eventually the restoreoffline command was accepted and after a delay, everything seemed ok.
One quick reboot of the test server later and I should have a fully functional Zimbra server, right?
Well, not quite.
The mail.log file shows the following:
Code:
Oct 1 14:54:52 zimbra postfix/proxymap[9713]: warning: dict_ldap_connect: Unable to bind to server ldap://zimbra.domain.com:389 as uid=zmpostfix,cn=appaccts,cn=zimbra: 49 (Invalid credentials)
Oct 1 14:54:52 zimbra postfix/cleanup[7821]: warning: 6751085AC7: sender_canonical_maps map lookup problem for zimbra@zimbra.domain.com
Oct 1 14:54:52 zimbra postfix/pickup[7817]: 6C01C85AC7: uid=1001 from=<zimbra>
Oct 1 14:54:52 zimbra postfix/proxymap[9713]: warning: dict_ldap_connect: Unable to bind to server ldap://zimbra.domain.com:389 as uid=zmpostfix,cn=appaccts,cn=zimbra: 49 (Invalid credentials)
Oct 1 14:54:52 zimbra postfix/cleanup[7821]: warning: 6C01C85AC7: sender_canonical_maps map lookup problem for zimbra@zimbra.domain.com
This looked like it was linked to the ldap password problem, so I did what I may well do if this were real; I fired up the installer again in the hope that magic would happen and it would all work. There's no point spending hours researching it while the mail is down and users are complaining if the installer may do the trick.
So, the installer runs through, removes packages, installs packages, reads & writes config files and all looks great.
I did see an error in the install process which said:
Code:
Setting up CA...sh: openssl: not found
done.
which looks like something that aptitude install openssl may resolve, either way the installer went on to complete.
Once it had finished, it all seemed ok, the mail.log no longer contained those errors so I guess it's a fully functional server. Wooo !! Success
So, ask everyone; have you tried this?
Anyone who is in charge of a Network Edition ZCS should ensure that they have what they need to be able to restore their server from a tape (or whatever /opt/zimbra/backup is stored on)
I feel that the process could be simplified. It's ok doing it as a trial run, but if the mailserver really did go on fire and all I had was a tape, I'd prefer a simpler method of restore.
Can we get some real-world comments from the field, could people with real installs practice their recovery process and chime in with how it went?