Move blobs to other server when the ldap is down/corrupted

Revision as of 15:01, 21 May 2015 by Jenny Jarrard (talk | contribs) (Purpose)

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6ZCS 8.5 Article ZCS 8.5ZCS 8.0 Article ZCS 8.0

Move blobs to other server when the ldap is down/corrupted


Move blobs from one zimbra server to another where mailbox IDs of accounts are different on both the servers.

Sometimes people just want their messages from an old/corrupted Zimbra mailbox, and here is the way we can do this. (In this scenario LDAP of the old box is not working but mysql is up. )


Get the account address with their Mailbox ID.

mysql -e "select comment,id from zimbra.mailbox;"

Find the blobs in /opt/zimbra/store/0/{mailboxID} directory

Example 1

| user@domain.coom | 2231 |

User BLOB Path

Copy the blobs to a tmp directory on the new machine, and add the blobs to the account on the new machine.

zmmailbox -z- -m addMessage /Inbox 310-100.msg
zmmailbox -z- -m addMessage /Inbox 320-200.msg

Additional Content

Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/18/2015
Article ID: Date Modified: 2015-05-21

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Jenny Jarrard
Jump to: navigation, search