Monitor or track the status of Folder / User rebuilds
Problem reported by Ionel Aurelian Rau - October 15 at 3:08 AM
Known
Hello,

Is it possible to monitor the progress or status of a Folder / User rebuild task? So far we have not been able to identify the log entries that would shed any light on these kind of tasks.

More specifically, here is an example: we have a user with a very big mailbox and we`re trying to split it - we`re moving old emails to another mailbox. We have already done this and succeeded moving several folders, one by one, by following this guide: https://portal.smartertools.com/kb/a2980/restore-a-users-account-folders-or-emails.aspx#

However, now we`ve tried moving 6 different folders (together these total about 30 GB of emails), but only 2 of them appeared in the secondary mailbox, after a few hours; the rest did not appear even after 24 hours. These are the steps that we performed:
  1. Copied the 6 folders from the original mailbox to another location and then deleted the mailbox.cfg files from each one
  2. Created a new folder in the new mailbox, let`s call the new folder "TEMP"
  3. We placed the 6 folders with just the .grp files under TEMP in the new mailbox
  4. We initiated a "Rebuild" task for the new mailbox for the TEMP folder with the Recursive toggle enabled
  5. After about an hour, 2 of the 6 moved folders had new mailbox.cfg files in them and they appeared in Webmail in the new account, with their emails
  6. The rest of the folders also appeared in Webmail, but if we clicked on them, endless loading occurs. Also, they have no mailbox.cfg files in them. These are not appearing correctly even after leaving this task over night.
We have not found relevant log entries for this task, but maybe we also did not know where to look. Can anyone please point in the right direction? We will have more such email migrations to perform in the future and they involve folders that are many GB in size.

Ideally, instead of just a toast notification that appears when you start the task, there should actually be a progress bar informing you of the progress of each task. By the way, we do not know if you can have more such tasks running at the same time or if you need to do them one after the other (but then, when does one end so I can start the other).

2 Replies

Reply to Thread
0
Tony Scholz Replied
Employee Post
Hello, 

What version of SmarterMail are you running?

If you are running on a newer Build xxxx version ( Build 7188 is ideal ) you can try running the FolderFixer to get the  folders and emails to display. If you are running on Build 6xxxx do not use this tool. 

The rebuild is not currently something that is logged. 


FOLDER FIXER
Once this is extracted;
  • Stop the mail service
  • Run the tool as an admin in the command prompt passing it the domain path
    • EXAMPLE
    • FolderFixer\FolderFixer.exe C:\SmarterMail\Domains
  • Start the mail service back up
This can be modified to be a specific user or domain by adjusting the path on the end if you do not want to run against every domain. This tool runs recursively. The whole process generally takes less than 5 minutes depending on how fast the service goes down and starts back up.

Thank you








Tony Scholz
Technical Support Specialist
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Ionel Aurelian Rau Replied
Hey Tony,

Thanks for the tool - it was useful in fixing 2 folders. For the last one, we had to remove it, create another in WebMail, move the .grp files there and rebuild again.

We are indeed on the latest SM 17 build.

I do think that this task, as well as any other user-initiated task should be logged. Moreover, this process in particular should have a progress bar somewhere - of if that is not possible, there should be a status on a page, like:

Folder / User rebuilds status:
_________________________________________
| Email               | Folder | Status                           |
| abc@abc.com  | test      | Rebuilding in progress  |
| def@def.com    | test12  | Rebuilding Done           |
_________________________________________

Reply to Thread