Restoring Talend Dictionary Service - 7.0

Talend Data Stewardship User Guide

Version
7.0
Language
English (United States)
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Stewardship
Content
Administration and Monitoring > Managing users
Data Governance > Assigning tasks
Data Governance > Managing campaigns
Data Governance > Managing data models
Data Quality and Preparation > Handling tasks
Installation and Upgrade
Once you back up Talend Dictionary Service, you can recover the data at any time and have an exact copy of the backed up instance.

Procedure

  1. Stop your Talend Dictionary Service instance.
    You can do the backup while the instance is running, but you are advised to choose a period of low activity.
  2. Launch MongoDB.
  3. Open a command prompt window and execute the below command to delete the database in the current instance of the Dictionary service:
    <path_to_installation_folder>/mongodb/bin/mongo <dbname>  -u <userName> -p <userPassword> --eval "db.dropDatabase()"
    If you installed Talend Data Stewardship with the Dictionary service using Talend Installer, the command reads as follows:
    <path_to_installation_folder>/mongodb/bin/mongo dqdict -u dqdict-user -p duser --eval "db.dropDatabase()"
  4. Replace the dump folder of the current instance stored at <path_to_installation_folder>/dq_dict/database/ with the dump folder you get from the back up procedure.
  5. From a command prompt window, execute the command to import the backup directory of the Dictionary service named dump. Use .bat or .sh according to your system, for example
    semantic-dictionary-import.bat
  6. To restore your configuration, replace the content of the <path_to_installation_folder>/dq_dict/apache-tomcat/conf folder with your backed up copy.

Results

The Dictionary service instance is recovered.