If you want to go this route, I recommend restoring the backup to a temporary account just to make sure the problem does not follow with the backup as well as to make sure you got everything in the backup.
Originally Posted by ducommun
I have Zimbra installed on an Ubuntu server, this is the command I use to backup an individual mailbox (Mailbox Acct = lhammonds):
Next, create a test account called "testrestore" and restore the archive by running this command:
/opt/zimbra/bin/zmmailbox -z -m lhammonds getRestURL "//?fmt=tgz" > /tmp/lhammonds.tgz
If all looks good, delete the original mailbox account (lhammonds in this example) and re-create the account. Now restore the data to the account:
/opt/zimbra/bin/zmmailbox -z -m testrestore postRestURL "//?fmt=tgz&resolve=reset" /tmp/lhammonds.tgz
/opt/zimbra/bin/zmmailbox -z -m lhammonds postRestURL "//?fmt=tgz&resolve=reset" /tmp/lhammonds.tgz