Skip to main content Skip to complementary content
Close announcements banner

Backing up an instance

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

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

  1. Start your MongoDB.
  2. Stop your Talend Data Stewardship instance.
    You can execute the same backup command while Talend Data Stewardship is running. However, a hot backup may cause poor performance.
  3. To back up your MongoDB, open a command prompt window and execute 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> --oplog
  4. 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.
  5. 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.
  6. If you have installed and used Talend Dictionary Service to create custom semantic types or update the existing ones, complete the following steps:
    1. 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.
    2. Back up the Talend Dictionary Service server.
      For further information about backing up the dictionary server, see Backing up Talend Dictionary Service.

Results

You have now a backup of the Talend Data Stewardship instance.

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 – let us know how we can improve!