Data Recovery on Linux
This topic contains a few general examples of data recovery on Linux.
Full backup recovery
Conditions
- The configuration data is stored at at the default location:
/opt/kerio/mailserver
- The
store
directory is located in directory on a separate disk:/store
- The backup directory is stored on an external disc:
/mnt/backup
Solution
- Go to the Kerio Connect installation directory:
/opt/kerio/mailserver
- Run the
kmsrecover
command.
- If the path to the Kerio Connect installation directory is included in the path variable:
kmsrecover /mnt/backup
- If the path to the Kerio Connect installation directory is NOT included in the path variable:
./kmsrecover /mnt/backup
- The
kmsrecover
detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.
Recovery of a single user's mailbox
Conditions
- The configuration data is stored at the default location:
/opt/kerio/mailserver
- The backup directory is stored on an external disc:
/mnt/backup
- The mailbox will be saved out of the Kerio Connect's store folder in the
/temp
directory.
Solution
- Go to the Kerio Connect installation directory:
/opt/kerio/mailserver
- Run the
kmsrecover
command:./kmsrecover -d company.com -u wsmith -s /mnt/temp /mnt/backup/F20051009T220008Z.zip
- The
kmsrecover
detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.
Recovery of a single folder of a user
Conditions
- The configuration data is stored at the default location:
/opt/kerio/mailserver
- The backup directory is stored on an external disc:
/mnt/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:
/opt/kerio/mailserver
- Run the
kmsrecover
command:./kmsrecover -v -d company.com -u wsmith -f "Sent Items" /mnt/backup/F20051009T220008Z.zip
- The
kmsrecover
detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.
Recovery of public folders of a particular domain
Conditions
- The configuration data is stored at the default location:
/opt/kerio/mailserver
- The backup directory is stored on an external disc:
/mnt/backup
- The original public folders will also be kept.
Solution
- Go to the Kerio Connect installation directory:
/opt/kerio/mailserver
- Run the
kmsrecover
command:./kmsrecover -b -d company.com -m public /mnt/backup
- The
kmsrecover
detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.