Backing Up and Restoring the CES Configuration Files
You must back up CES configuration files while the index is in read-only mode or when the CES service is stopped. In both cases, the CES configuration files are not locked by a CES process so you can integrally copy them. It is recommended to use the read-only mode so that end-users can continue to send queries and receive search results during the backup process. When the CES service is stopped, end-users cannot perform queries. However, you must stop the CES service to restore the CES configuration files.
Tip: You can use the system schedules to automatically set your index in read-only mode at specific times (see Modifying System Schedules) and synchronize an automated backup of CES configuration files.
Important: When your Coveo implementation includes Mirror servers, contact Coveo Support for assistance in backing up and restoring your CES configuration files.
To back up the CES configuration files
-
Using an administrator account, connect to the Coveo Master server.
-
Put the index in read-only mode (see Toggling the Index Between the Read-Write and Read-Only Modes).
-
Copy the content of the [Index_Path]\Config\ folder (C:\CES7\Config\ by default).
Note: If your sources use preconversion or postconversion scripts files that are not located under the [Index_Path]\Config\ folder, ensure to back them up as well.
-
Paste the copied content in a backup location of your choice.
-
Put the index back in read-write mode (see Toggling the Index Between the Read-Write and Read-Only Modes).
To restore the CES configuration files from a backup copy
-
Using an administrator account, connect to the Coveo Master server.
-
Stop the CES service (see Stopping the CES Service).
Important: Restoring a backup copy of the CES configuration files while indexing or while in read-only mode will most likely result in a corrupted index.
-
Delete all files and folders under the [Index_Path] folder (C:\CES7\ by default).
It is mandatory to delete the existing index files because the index must be entirely rebuilt from the configuration files.
Note: When you have sufficient disk space on your Coveo Master server to hold two versions of the index, you can simply rename the [Index_Path] folder rather than deleting its content.
-
Recreate the [Index_Path]\Config\ folder
-
Restore the CES configuration files backup files to the [Index_Path]\Config\ folder.
-
Restart the CES service (see Starting the CES Service).
-
Rebuild the sources.