Regularly backing up your email files is a good practice to keep as it helps prevent the loss of important data in the event of a hardware crash, hard drive corruption, system failures, etc. If you do not have a professional backup solution in place, you can set up a scheduled task in Windows to fully back up the SmarterMail installation on a regular basis. The backup can be stored on a separate hard drive or a dedicated folder of an existing drive. RoboCopy is a command-line directory replication command used as a backup solution for smaller companies. NOTE: The source folders are mirrored with the destination folders, so any folders or files that exist in the destination but no longer exist in the source will be removed. As a result, you must use an empty directory to store the backup, as all existing files in the destination directory will be deleted.
Follow these steps to configure Windows to regularly back up SmarterMail:
cd "C:\Program Files\Windows Resource Kits\Tools\"
echo Backing up config files...
robocopy "C:\program files\smartertools\smartermail\service\settings" "DEST:\FOLDER\service\settings" *.json *.dat /ZB
echo Backing up mailboxes...
robocopy "C:\SmarterMail" "DEST:\FOLDER\mail" /MIR /R:6 /W:10 /ZB
4. Save the file.5. Add a scheduled task to Windows to execute the .bat file on a regular basis.
NOTE: Professional backup solutions will typically be more resilient to failures and file locking, but for those without the budget to buy one of those solutions, this is better than doing no backups at all. Use of this method of backup is not supported by SmarterTools. Please exercise caution when setting up the backup and confirm that the backup is running correctly by executing a trial run.
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add firstname.lastname@example.org to your trusted senders list in your email software.