restoring a single folder

Say a user deletes a folder out of their mail by accident and requests to have it restored. Pulling the folder off our backup system is not a problem. So I restore the folder back to it's original place. What is necessary to do next to re-index it into that users mail store? It seems like a reconstruct -m does fix the issue, however a "reconstruct -r user/john.doe" does not. It seems a bit rediculous to have to re-process the entire mail store with a -m for all users to fix one users restored folder. Is there a way to have it completely reindex an individuals store only? I'm fairly new to the iMS thing, so I apologize if this is an obvious thing.

thanks,

-Patrick

[700 byte] By [707209] at [2007-11-25 8:27:38]
# 1
A reconstruct -m is required when restoring a Directory. A folder is a directory andtherefore a reconstruct -m is required. A reconstruct -r is required for single files (e.g. messages)
Niels de Troye at 2007-7-1 14:53:48 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
You can do an mboxutil -c user/userid/folder to create the folder and then put all the messages in the newly created folder, reconstruct -r user/userid/folder and that should do it.Michael
Michael Puskar at 2007-7-1 14:53:48 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

I've tried a couple of different things with one common problem. I've restored a folder to a "foldername-restored" folder in a users mail store. It contains all the .msg files and the store.idx and store.usr. When I run the reconstruct -r it goes through repairing that box. However, after this is complete and the user tries to access that folder, iMS reports that there are no messages in that folder. The .msg files are still there but it is like it doesn't index them. What is going on? It seems like from the documentation, everything that you have suggested should work, however the index (store.idx?) seems to get cleared instead of built with the .msg files in the folder. I also tried runing a mboxutil -c to create a new folder in that users store then copying all the msg files to it and again running the reconstruct -r. Same results. The client says there are no messages in the folder. Thoughts?

707209 at 2007-7-1 14:53:48 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

The store.exp contains data to know which msgs have been popped/expunged or not. Deleting this file and doing a recontruct -r user/username/INBOX will reset the "unread" flag for all messages.. more or less.

Have you tried moving all store.* files to old_store.* then recontruct -r user/username/INBOX ? Careful, I have never tested this though..

Martin

Martin Fillion at 2007-7-1 14:53:48 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...