slapd fail - (restore backup)

I am trying a restore backup exercise. I want to be prepared in case the production server go down, I can just use the backup to restore the zimbra on another machine right away. However, I do not have an extra machines to be this backup server and I can only setup up a virtual machine on a Xen server. Both the production OS and the backup are running CentOS 5.4. The only different is the the backup OS resides over Xen. The zimbra version is open source version 6.04 and the backup was done using the "[Yet Another Backup Script Community Version]" script.
As soon as I restore the backup on the virtual machine and try to start zimbra, I get the following:

I checked the [SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution) link but still not able to go it to work. But I notice there mentioned some flag -b have to be done if virtual machine is involved. Would someone be able to enlighten me on that?

Could it be just as it? Recently encountered the same problem after incorrect server shutdown (hang). The only solution worked for me, was to recover whole zimbra folder with data. Fortunately it was not active server - only LDAP, where registrations didn't take place during last period without backup. Can you seewhy confirm, that this solves your problem?

Thank you very much for your reply uxbod but it didn't work. From the log, it seems that id2entry.bdb is not in correct format for some reason. Would the LSN have something to do with it? Do I need to reset that some how?

Okay, I think I got it. I restored from the backup one more time. This time, instead of doing "zmcontrol start" right away, I do:
$ cd /opt/zimbra/data/ldap/hdb/db
$ /opt/zimbra/bdb-4.7.25.4/bin/db_recover -v

then

$ su - zimbra
# zmcontrol start

and YES! It is running. Let me try to restore another backup from the production server that will be generated tonite and see if I can repeat this and I will let you guys know the result.

Firstly, just want to let you guys know I re-tried a few times doing what I did and the new ZCS come on back every time. The ZCS I am running is still the good old open source 6.0.4 on CENTOS 5.4 over XENServer 5.5 and now with 5.6

MACscr, just curious. Have you tried restoring the machine of the same version of ZCS.