Product DocsMenu

Coveo Platform 7.0 >
Administrator Help > Coveo Enterprise Search 7.0 > Installation > Migration > CES Moving Scenarios > Backing Up and Restoring the CES Configuration Files

Backing Up and Restoring the CES Configuration Files

It is highly recommended to regularly back up the CES configuration files. In the case of a disaster recovery, you can completely rebuild your Coveo index from a restored copy of 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

  1. Using an administrator account, connect to the Coveo Master server.

  2. Put the index in read-only mode (see Toggling the Index Between the Read-Write and Read-Only Modes).

  3. 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.

  4. Paste the copied content in a backup location of your choice.

  5. 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

  1. Using an administrator account, connect to the Coveo Master server.

  2. 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.

  3. 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.

  4. Recreate the [Index_Path]\Config\ folder

  5. Restore the CES configuration files backup files to the [Index_Path]\Config\ folder.

  6. Restart the CES service (see Starting the CES Service).

  7. Rebuild the sources.

People who viewed this topic also viewed