This article covers how to recover a corrupted Kerio Control backup which is usually generated in a Kerio Control legacy hardware such as 1120, 3130 boxes. While trying to upload the old configuration backup, Kerio Control returns Unable to process imported file error.
Note: see the Legacy Hardware Support article for more details on legacy hardware and the support scopes.
You can distinguish a backup is corrupted by one of the following two ways:
- By trying to Import the backup.
If the backup is corrupted, as soon as you try to import the backup you will receive “Unable to process imported file.” error as seen in the below figure.
- By Checking its content:
If you open the backup and check the contents of the backup usually you will see various CFG files and some other files such as hardware, interfaces and etc. If you have a damaged backup you will only see 1 file in it which is called “version” as shown in the below figure.
If the backup in question has been checked and shows the above symptoms and has been generated on a Kerio Control legacy hardware, then you can try to fix it using the method below.
- Download the Configuration recovery executable from config_recover_signed.zip.
- Run the executable by issuing the following command:
Where FILENAME refers to the corrupted configuration file with .tar.gz extension.
When the script is done you should see the following output at the end:
Fixed configuration file written to ".\Kerio_Control_3110-2018-12-04-configuration_backup_fixed.tar.gz"
The above messages confirm the successful execution of the script and creation of the fixed backup file which can be found next to the original backup file.
Try to import the fixed configuration backup into Kerio Control.