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