Zimbra Restore Mails From Store Folder: Difference between revisions
Appearance
Created page with "The mails can then be recovered by using zmmailbox as the Zimbra user. Both the commands below give admin rights on zmmailbox prompt, so use any one. zmmailbox -zadmin or z..." |
No edit summary |
||
| Line 6: | Line 6: | ||
zmmailbox adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password | zmmailbox adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password | ||
After that we create the 'Recovery' folder, and add messages to that folder from our old store folder. | |||
mbox> selectMailbox agmadmin@witalsee.com | mbox> selectMailbox agmadmin@witalsee.com | ||
mbox> createfolder /Recovery | mbox agmadmin@witalsee.com> createfolder /Recovery | ||
mbox> | mbox agmadmin@witalsee.com> addMessage /Recovery /opt/zimbra/store.old/0/809/msg/0 | ||
'/opt/zimbra/store.old/0/809/msg/0' is the path to the folder containing the mails. Some IDs may have a large amount of mails, resulting in 'msg/1', 'msg/2', etc. These will have to be run one-by-one. | |||
Revision as of 11:19, 25 July 2012
The mails can then be recovered by using zmmailbox as the Zimbra user.
Both the commands below give admin rights on zmmailbox prompt, so use any one.
zmmailbox -zadmin
or
zmmailbox adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password
After that we create the 'Recovery' folder, and add messages to that folder from our old store folder.
mbox> selectMailbox agmadmin@witalsee.com mbox agmadmin@witalsee.com> createfolder /Recovery mbox agmadmin@witalsee.com> addMessage /Recovery /opt/zimbra/store.old/0/809/msg/0
'/opt/zimbra/store.old/0/809/msg/0' is the path to the folder containing the mails. Some IDs may have a large amount of mails, resulting in 'msg/1', 'msg/2', etc. These will have to be run one-by-one.