Backing up Talend Data Preparation
on regular basis is important to recover from a data loss scenario or any other causes
of data corruption or deletion.
If you want to have a copy of a Talend Data Preparation instance, you need to
backup the MongoDB, the folders containing your data, the configuration files and the
logs.
This procedure backs up MongoDB with mongodump
, but you can use
different methods. For further information, see MongoDB Backup Methods.
Before you begin
If you have been using Talend Dictionary Service, shut it down before
starting the backup, to ensure having exact copies of the index files.
Procedure
-
Start your MongoDB instance.
-
Stop your Talend Data Preparation
instance.
-
To backup your MongoDB, open a command prompt window and execute 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>
-
To back up your datasets, make a copy of the folder specified in the
dataset.content.store.file.location
property of the
<Data_Preparation_Path>/config/application.properties
file, and save it to your preferred location.
-
To back up any custom configuration that you might have, make a copy of the
<Data_Preparation_Path>/config folder and save it to
your preferred location.
-
To back up your log files, make a copy of the
<install_folder>\dataprep\data\logs
folder and save it to
your preferred location.
-
If you have installed and used Talend Dictionary Service to create custom
semantic types, or update the existing ones, complete the following steps:
-
To back up any changes made to the predefined semantic types using
Talend Dictionary Service,
make a copy 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.
-
Back up the Talend Dictionary Service server. For further information, see the Talend Dictionary Service Administration Guide.
Results
You now have a backup of your Talend Data Preparation instance.