Start a conversation

Examples of Data Recovery on Linux

Overview

This article contains a few general examples of how to perform different types of data recovery on the Linux platform.


 

Data Recovery Processes

Full Backup Recovery

Conditions

  • The configuration data is stored at the default location: /opt/kerio/mailserver.
  • The store directory is located in a directory on a separate disk: /store.
  • The backup directory is stored on an external disc: /mnt/backup.

Solution

  1. Go to the Kerio Connect installation directory by entering cd /opt/kerio/mailserver.
  2. Run the kmsrecover command.

    If the path to the Kerio Connect installation directory... Then use...
    is included in the path variable kmsrecover /mnt/backup
    is not included in the path variable ./kmsrecover /mnt/backup

    Example:

    360012954394-1.png

  3. The kmsrecover command detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.

 

Single User Mailbox Recovery

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 is saved out of the Kerio Connect's store folder in the /temp directory.

Solution

  1. Go to the Kerio Connect installation directory by entering cd /opt/kerio/mailserver.
  2. Run the kmsrecover command:
    ./kmsrecover -d company.com -u wsmith -s /mnt/temp /mnt/backup/F20051009T220008Z.zip
  3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.

 

Single User Folder Recovery

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 is recovered.
  • The recovery process is monitored through the verbose mode.

Solution

  1. Go to the Kerio Connect installation directory by entering cd /opt/kerio/mailserver.
  2. Run the kmsrecover command:
    ./kmsrecover -v -d company.com -u wsmith -f "Sent Items" /mnt/backup/F20051009T220008Z.zip
  3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.

 

Particular Domain Public Folders Recovery

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 are also kept.

Solution

  1. Go to the Kerio Connect installation directory by entering cd /opt/kerio/mailserver.
  2. Run the kmsrecover command: ./kmsrecover -b -d company.com -m public /mnt/backup.
  3. The kmsrecover detects the path to the store automatically in the Kerio Connect's configuration file and recovers all items.

Back to the top


 

Related Articles

Back to the top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments