Migrating Dictionary Service installed with an embedded MongoDB
Before you begin
You have downloaded Talend Dictionary Service
7.2.x.
Procedure
Stop your instance of the previous version of Talend Dictionary Service but keep MongoDB
running.
Back up the MongoDB instance used for the previous version of
Talend Dictionary Service using the
following command: mongodump -h
<source_mongodb_host>:<source_mongo_port> -d
<source_database> -u <source_mongodb_user> -p
<source_mongodb_password> -o <dump_output>
The default value for the embedded MongoDB properties are the
following:
Switch to Talend Dictionary Service database: use dqdict
Drop the database: db.runCommand( { dropDatabase: 1 } )
Exit mongo shell: exit
Stop MongoDB.
If you have performed any custom configuration to the previous version of the
<Tomcat>/conf/data-quality.properties file, update the
7.2.x version of the file by coping the values from the old configuration file.
Start MongoDB of the 7.2.x version.
Restore the backup performed on the MongoDB of the previous version of Talend Dictionary Service,
on the 7.2.x MongoDB instance using the following command: mongorestore -h
<source_mongodb_host>:<source_mongo_port> -d <source_database>
-u <source_mongodb_user> -p <source_mongodb_password> dump\