I am working on possibly moving my zimbra machine to a virtual machine, and at the same time doing a disaster recovery test, and I am running into issues trying to restore the email to a new server (in this case on a virtual machine).
Following the Restore policy on the wiki, the steps are as follows:
1. set hostname and hosts to the same as the old server
2. decompress my backed up zimbra folder to /opt/zimbra
3. install the same version of zimbra
and this is where I get stuck, with the following issues, and attempts to fix:
First overwrite seems to start to work. It asks to delete the directory, I say no
It installs the requisite packages, and goes to the saveconfig loading. At this point, it seems to detect my old config, but has issues with ldap or forgetting the port numbers. Even if I reenter this info, it won't continue.
I usually end up having to quit at this phase.
If I try to re-run setup, it attempts to upgrade, but with a blank saveconfig, which won't work.
I have also try zmfixperms at every step. I have installing with the hostname etc set to the same as the backup, then overwriting or merging directories, etc.
Can anyone guide me as to which step I am doing wrong? I restored about a year ago, but I remember that there was a step that I had to tweak from the wiki, but I can't remember what it was.
I have now tried this from scratch at least 20 times with a 6 gb backup file, so to say it takes a while to go through every possible way of doing things is an understatement. I''ve run out of ideas, so I'd appreciate some help.
PS - I've tried checking for ldap issues, etc, but since this is a restore install, they didn't seem to apply, and since the re-install killed my save config, fixing it likely would not have helped.