Migrate user mailbox backup

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
nirav.solanki
Posts: 1
Joined: Thu Nov 17, 2016 6:33 am

Migrate user mailbox backup

Post by nirav.solanki »

I have zimbra mailserver running on version 8.7.0
I have a user's mailbox backup containing msg directory. I have restored that backup into that specific mailbox directory.
But when I login into that user's web login, I am not able to view the mails.
Can someone guide how to restore particular mailbox ?
odie129
Posts: 7
Joined: Mon Jun 15, 2015 10:41 pm

Re: Migrate user mailbox backup

Post by odie129 »

What do you mean by "migrate" ? from new zimbra server of from the same server where you backup users mail box?

How did you backup users mailbox?

if if it in .tgz format you can restore using this command:

su - zimbra -c "zmmailbox -z -m username postRestURL '//?fmt=tgz&resolve=reset' backup-dir/file-name.tgz";

Example:

su - zimbra -c "zmmailbox -z -m user1@example.com postRestURL '//?fmt=tgz&resolve=reset' /backup/20170113/user1@example.com.tgz";

Note :
resolve = reset. This parameters will delete mailboxes existing on user and will be changed with mailbox backup. The reset parameter could be changed with skip, replace, modify.

Hope this help..
Post Reply