Before you begin
Procedure
- Stop your current Talend Data Stewardship instance but keep MongoDB running.
-
Back up the MongoDB instance used for the previous version of
Talend Data Stewardship using the
following command:
<mongo_path>/bin/mongodump -h <source_mongodb_host>:<source_mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> -o <backup_location>
The default value for the embedded MongoDB properties are the following:Property Value mongodb.host
localhost
mongodb.port
27017
mongodb.database
tds
mongodb.user
tds-user
mongodb.password
duser
-
Stop the MongoDB instance from the previous version of Talend Data Stewardship.
Note: For Windows users, you must uninstall the current MongoDB before you install Talend Data Stewardship 7.3.x.
-
Install Talend Data Stewardship 7.3.x and select the embedded MongoDB option. Do not
start the instance.
For more information about the Talend Data Stewardship installation and configuration procedures, see Installing and configuring Talend Data Stewardship.If you have installed Talend Data Stewardship 7.3.x in service mode, stop the MongoDB instance.
-
Delete the database
-
Open a mongo shell as a Talend Data Stewardship database user and
execute the following commands:
cd <install_dir>/mongodb/bin ./mongo tds -u tds-user -p duser --port 27017
-
Switch to the Talend Data Stewardship database:
use tds
-
Drop the database:
db.runCommand( { dropDatabase: 1 } )
-
Exit mongo shell:
exit
-
Open a mongo shell as a Talend Data Stewardship database user and
execute the following commands:
-
Restore the MongoDB backup on the new 7.3.x MongoDB instance by
using the following command:
<mongo_path>/bin/mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> <backup_location>
- If you have customized the <Data_Stewardship_Path>/conf/data-stewardship.properties file in the previous version, you can copy the values from the old configuration file and add them to the new version.
- Delete the <install_dir>/tds/apache-tomcat/data folder from your Talend Data Stewardship 7.3.x installation.
- Start Talend Data Stewardship 7.3.x.
Results
You are now ready to use Talend Data Stewardship 7.3.x.