Skip to main content Skip to complementary content

Backing up Talend Dictionary Service

Backing up a Talend Dictionary Service instance includes backing up the MongoDB which stores all the semantic entries.

Before starting the backup procedure, it is recommended to copy the dump file at <Installation_path>/dq_dict/database/dump and save it in a place of your choice to keep a copy of the initial data. This dump file has the by-default semantic types.

Before you begin

  • Set up the environment variable for MongoDB by adding the below path to your user variables:
    <Installation_path>/mongodb/bin

Procedure

  1. Stop your Talend Dictionary Service instance.
    You can do the backup while the instance is running, but it is recommended to choose a period of low activity.
  2. Launch MongoDB.
  3. Open a command prompt window and execute the following commands to backup the current Talend Dictionary Service instance to a dump folder:
    • on Windows:
      <Installation_path>/dq_dict/database/semantic-dictionary-export.bat
    • on Linux:
      <Installation_path>/dq_dict/database/semantic-dictionary-export.sh
  4. To back up the configuration files, make a copy of the <Installation_path>/dq_dict/apache-tomcat/conf folder and save it to a secure place.
  5. If you have made any changes to the predefined semantic types using Talend Dictionary Service, you need to back up the changes stored in the folder specified in the <Data_Preparation_Path>/config/application.properties file and the changes stored in the <Installation_path>/tds folder.

Results

The backup of the current Talend Dictionary Service instance is completed and the file is saved at <Installation_path>/dq_dict/database/dump.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!