Restoring your Configuration Backup can be easily done from Webconfig. This guide, however, assists in a situation where you only have SSH or Console access to ClearOS. This guide is compatible with versions 6.x and 7.x of ClearOS.
First you will need to locate the Configuration Backup file you wish to restore from. They are found in this directory: '/var/clearos/configuration_backup/' or can be in a location that you uploaded an off-line backup to. You can list all Configuration Backup files found in that directory by executing the following command:
ls /var/clearos/configuration_backup/
Then you can execute the following command:
configuration-restore -f {path_and_filename_of_config_file_to_be_restored}
This can take up to five minutes to complete.
You can check the progress by executing the following command:
tail -f /var/clearos/framework/tmp/configuration_backup.json