Overview
This article contains a few general examples of data recovery on Microsoft Windows.
Step-by-Step Guide
Full backup recovery
Conditions
- The configuration data is stored at the default location: C:\Program Files\Kerio\MailServer
- The store directory is located in a directory on a separate disk: D:\store
- The backup directory is stored on an external disc: E:\backup
Solution
- Go to the Kerio Connect installation directory: C:\Program Files\Kerio\MailServer
- Run the kmsrecover command.
- To recover from the last complete backup (the most recent full backup and all subsequent differential backup, or the most recent backup copy): kmsrecover E:\backup
- To recover from a particular backup: kmsrecover E:\backup\F20051009T220008Z.zip
3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.
NOTE: If the parameter contains a space in the directory name, enclose it in quotes: kmsrecover "E:\backup 2"
Recovering a single user's mailbox
Conditions
- The configuration data is stored at the default location: C:\Program Files\Kerio\MailServer
- The backup directory is stored on an external disc: E:\backup
- The mailbox will be saved out of the Kerio Connect's store folder in the D:\tmpdirectory.
Solution
- Go to the Kerio Connect installation directory: C:\Program Files\Kerio\MailServer
- Run the kmsrecover command.
- To recover from the last complete backup (the most recent full backup and all subsequent differential backup, or the most recent backup copy): kmsrecover -d company.com -u smith -s D:\tmp E:\backup
- To recover from a particular backup: kmsrecover -d company.com -u smith -s D:\tmp E:\backup\F20051009T220008Z.zip
3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.
NOTE: If the parameter contains a space in the directory name, enclose it in quotes: kmsrecover "E:\backup 2"
Recovering a single folder of a user
Conditions
- The configuration data is stored at the default location: C:\Program Files\Kerio\MailServer
- The backup directory is stored on an external disc: E:\backup
- The Sent Items folder will be recovered.
- The recovery process will be monitored through the verbose mode.
Solution
- Go to the Kerio Connect installation directory: C:\Program Files\Kerio\MailServer
- Run the kmsrecover command.
- To recover from the last complete backup (the most recent full backup and all subsequent differential backup, or the most recent backup copy): kmsrecover -v -d company.com -u smith -f "Sent Items" E:\backup
- To recover from a particular backup: kmsrecover -v -d company.com -u smith -f "Sent Items" E:\backup\F20051009T220008Z.zip
3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers the Sent Items folder.
NOTE: If the parameter contains a space in the directory name, enclose it in quotes: kmsrecover "E:\backup 2"
Recovering public folders of a particular domain
Conditions
- The configuration data is stored at the default location: C:\Program Files\Kerio\MailServer
- The backup directory is stored on an external disc: E:\backup
- The original public folders will also be kept.
Solution
- Go to the Kerio Connect installation directory. C:\Program Files\Kerio\MailServer
- Run the kmsrecover command: kmsrecover -b -d company -m public E:\backup
- The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers the public folders.
NOTE: If the parameter contains a space in the directory name, enclose it in quotes: kmsrecover "E:\backup 2"
Related Articles: