Data Recovery on Microsoft Windows
This topic contains a few general examples of data recovery on Microsoft Windows.
Full backup recovery
Conditions
- The configuration data is stored at the default location:
C:\Program Files\Kerio\MailServer
- The
store
directory is located in 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
- 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:\tmp
directory.
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:\tmpE:\backup\F20051009T220008Z.zip
- 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
- The
kmsrecover
detects the path to the store automatically in the Kerio Connect's configuration file and recovers theSent 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"