After backing up your Talend Data Preparation instance, you can restore
your database and configuration at any time.
In order to restore your backed up files, you need to paste them to the appropriate
location in the Talend Data Preparation
installation folder.
Procedure
-
Start your MongoDB instance.
-
Stop your Talend Data Preparation
instance.
-
To restore your MongoDB, open a command prompt window and execute the following
command:
mongorestore -h <source_mongodb_host>:<source_mongo_port>
-d<source_database> -u <source_mongodb_user> -p
<source_mongodb_password> dump\
-
To restore your datasets, replace the content of the folder specified in the
dataset.content.store.file.location
property of the
<Data_Preparation_Path>/config/application.properties
file, with your backed up copy.
-
To restore your custom configuration, replace the content of the
<Data_Preparation_Path>/config folder with your backed
up copy.
-
To restore your log files, replace the content of the
<install_folder>\dataprep\data\logs
folder with your backed
up copy.
-
If you have installed and used Talend Dictionary Service to create custom
semantic types, or update the existing ones, complete the following steps:
-
To restore your custom semantic types, replace the content of the
folder specified in the
dataquality.indexes.file.location=<preferred_location>/org.talend.dataquality.semantic
property of the
<Data_Preparation_Path>/config/application.properties
file with your backed up copy.
-
Restore the Talend Dictionary Service server. For
further information, see the Talend Dictionary Service Administration Guide.
Results
Talend Data Preparation now uses the
source files, as well as the configuration, that you had previously saved.