Backing up Talend Data Stewardship 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 Stewardship instance, you need to backup the MongoDB database, the folders containing your data, the configuration files and the logs.
This procedure backup MongoDB with mongodump, but you can use different backup methods. For further information, see MongoDB Backup Methods.
Before you begin
- Start your MongoDB.
Stop your Talend Data Stewardship
You can execute the same backup command while Talend Data Stewardship is running. However, a hot backup may cause poor performance.
To back up your MongoDB, open a command prompt window and execute the following
<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> --oplog
- To back up any configuration you might have done, make a copy of the <path_to_installation_folder>/tds/apache-tomcat/conf and the <path_to_installation_folder>/kafka/conf folders and save them to a secure place.
- To back up your logs, copy the log folder at <path_to_installation_folder>/tds/apache-tomcat/logs and save it to a place of your choice.
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, copy the data folder at <path_to_installation_folder>/tds/apache-tomcat/data and save it to a place of your choice.
Back up the Talend Dictionary Service server.
For further information, see Backing up and recovering Talend Dictionary Service.
You have now a backup of the Talend Data Stewardship instance.