Migrate user mailbox backup

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

Migrate user mailbox backup

Postby nirav.solanki » Mon Jan 09, 2017 10:48 am

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

Postby odie129 » Fri Jan 13, 2017 6:27 am

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..

Return to “Migration”

Who is online

Users browsing this forum: juan_cipolletti and 2 guests