Postby jch » Tue Feb 28, 2006 7:31 am
Ahh. Now that's a different question :) The message store holds messages in a "binary" format as it's highly tuned for performance and interoperaibilty (mostly between IMAP and Outlook/MAPI).
Backing up ~scalix is done primarily to protect you against disaster -- if a swarm of locusts attacks your server you've got the back up to restore the complete message store.
If, on the other hand, you want to restore an individual user's messages or an individual message you have to work a little harder. If you have a complete backup, the usual technique is to restore the messages store on to some other machine and bring up a scalix server for that machine. You have to be a little careful to make sure that the restored messages store doesn't start sending messages of course. Once you've got a server up and running you can use omcpoutu to extract the messages for a single user or, if you want just a small selection of messages, delete everything except the messages you want to keep and use omcpoutu again. The messages copied out of the backup can then be restored to the user by running omcpinu on the main machine.
A more complex solution involves using the item structure server but that's too complicated to go into here. I don't remember if there's something in the knowledge base about that.
Some of the work that's going into the next release will make recovery of individual messages rather easier so you won't have to use the complete message store backup for that.
jch