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
storedirectory 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
kmsrecovercommand.
- 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
kmsrecoverdetects 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
/tempdirectory.
Solution
- Go to the Kerio Connect installation directory:
/opt/kerio/mailserver - Run the
kmsrecovercommand:./kmsrecover -d company.com -u wsmith -s /mnt/temp /mnt/backup/F20051009T220008Z.zip - The
kmsrecoverdetects 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 Itemsfolder 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
kmsrecovercommand:./kmsrecover -v -d company.com -u wsmith -f "Sent Items" /mnt/backup/F20051009T220008Z.zip - The
kmsrecoverdetects 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
kmsrecovercommand:./kmsrecover -b -d company.com -m public /mnt/backup - The
kmsrecoverdetects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.