Just hypothetically (nothing happened), can I (somewhat) safely restore only one mailbox from a backup of my Zimbra FOSS edition? I backup using rdiff-backup to an external partition (no LVM snapshots), and I make separate mysqldumps and ldap dumps.
I have to questions. the first is:
My mysqldumps and /opt/zimbra backups aren't of the same time. If I restore the mailbox's store in /opt/zimbra/store/3 (mailbox id 3 in this example) and then restore the mysql DB mboxgroup3 from the dump, the store can have information in it that is not present in the MysqlDB.
This page explains what the mysql datastore stores, but it is not clear to me what would happen if there are messages in the store that aren't in mysql. My best guess would be that it's not visible, because the mysql DB is the list of messages and the store is only used to look the message up, not to see what is actually there. Is that right?
Would a good restore method be to simply restore /opt/zimbra/store/3 and /opt/zimbra/db/data/mboxgroup3?
My second question is: what if someone deleted half their mailbox?
Zimbra: Release 7.1.4_GA_2555.UBUNTU10_64 UBUNTU10_64 FOSS edition, Patch 7.1.4_P1.