Skip to main content Skip to complementary content

Migrating to Talend Dictionary Service 8.0.x R2022-07 installed with an embedded MongoDB

Before you begin

You have downloaded the latest hybrid Talend Dictionary Service 8.0 archive from Talend Cloud's Downloads page.

Procedure

  1. Open Talend Data Inventory, Talend Data Preparation or Talend Data Stewardship.
  2. Go to the Semantic types tab.
  3. Export the semantic types you want to keep: either Talend default semantic types you modified or semantic types you created.
    Information noteImportant: Exporting and reimporting your semantic types is critical to avoid losing existing semantic types.
  4. Stop your instance of the previous version of Talend Dictionary Service but keep MongoDB running.
  5. 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:
    Property Value
    mongodb.host localhost
    mongodb.port 27017
    mongodb.database dqdict
    mongodb.user dqdict-user
    mongodb.password duser

    Example

    
                      mongodump -h localhost:27017 -d dqdict -u dqdict-user -p duser -o dump\
                   
  6. Stop your MongoDB instance.
  7. Install Talend Dictionary Service 8.0 with the embedded MongoDB and do not start the instance.
  8. If you have installed Talend Dictionary Service 8.0 in service mode, stop the instance, delete the database and stop MongoDB:
    1. Open a mongo shell as Talend Dictionary Service database user and execute the following commands:
      cd <install_dir>/mongodb/bin
                                      ./mongo dqdict -u dqdict-user -p duser --port 27017
    2. Switch to Talend Dictionary Service database: use dqdict
    3. Drop the database: db.runCommand( { dropDatabase: 1 } )
    4. Exit mongo shell: exit
    5. Stop MongoDB.
  9. Start MongoDB of the 8.0 version.
  10. Open Talend Data Inventory, Talend Data Preparation or Talend Data Stewardship.
  11. Go to the Semantic types tab.
  12. Import the previously exported semantic types.

Results

You have migrated your data to Talend Dictionary Service 8.0. To configure Talend Dictionary Service, follow the instructions in Configuring Talend Dictionary Service.

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!