View Single Post
  #1 (permalink)  
Old 10-26-2009, 12:34 PM
Federico Federico is offline
Junior Member
 
Posts: 7
Question moving mails inside the store directory

Hi all,

I have this kind of trouble: I have to recover a mailbox from a corrupted backup of Zimbra (Release 6.0.1_GA_1816.DEBIAN5_64 DEBIAN5_64 FOSS edition).

The original mailbox (~850MB) has the store located in /opt/zimbra/store/0/18/

I need to move email inside this account to /opt/zimbra/store/0/89/

I can't use imapsync or something because the account with id 18 is gone: no logins are associated with it and there are no trails of it in the database, so I have to operate at filesystem level.

I tried to copy (cp -R) the content of /opt/zimbra/store/0/18/msg/* into /opt/zimbra/store/0/89/msg/ and then reindexing the account, but it fails with:

# zmprov rim account@domain status
ERROR: service.NOT_IN_PROGRESS (mbox e119ff5c-745f-4c2f-bcb7-0ba1fb04f326 is not currently running action ReIndex)


Any suggestions will be appreciated.
Reply With Quote