I have been backing up e-mail with zmmailbox with command:
/opt/zimbra/bin/zmmailbox -z -m firstname.lastname@example.org getRestURL "//?fmt=zip&query=is:anywhere" > $BUL/zimbra/user.weekly.zip
I've tested restoring the above with command:
/opt/zimbra/bin/zmmailbox -z -m email@example.com postRestURL “//?fmt=zip&resolve=reset” /archive/zimbra/user.weekly.zip
With my testing these backups appeared to be 100% good.
I am in a situation where I need to process an actual recovery. When I restore the data it appears to only be restoring data from the date of the very first time this backup was run. I did not notice this in my testing.
When I manually open the .zip file all of the new e-mails are present.
These new e-mails are not being restored when I run the restore command via the command console.
These e-mail accounts have up to 40G of e-mails, and they just stop importing after a time if I import via the Zimbra import area under the preference section in the Zimbra web portal. However it appears that all the e-mails are being processed this way before they simply stop working.
I've started researching, and I was hoping to get some helpful suggestions on what I should be doing to restore these messages.
Is this a database issue?
Thanks for the helpful suggestions.