Talend Dictionary Serviceの復元 - 8.0

Talend Dictionary Service管理ガイド

Version
8.0
Language
日本語
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Talend Data Stewardship
Content
データクオリティとプレパレーション > セマンティックタイプの管理
Last publication date
2023-09-14
Talend Dictionary Serviceのバックアップの実行後は、いつでもデータを復元し、バックアップされたインスタンスの正確なコピーを作成できます。

手順

  1. Talend Dictionary Serviceインスタンスを停止します。
    インスタンスの実行中でもバックアップを実行できますが、低いアクティビティの期間を選択することをお勧めします。
  2. MongoDBを起動します。
  3. コマンドプロンプトウィンドウを開き、以下のコマンドを実行して、Talend Dictionary Serviceの現在のインスタンス内のデータベースを削除します。
    <Installation_path>/mongodb/bin/mongo <dbname>  -u <userName> -p <userPassword> --eval "db.dropDatabase()"
    Talend Installerを使用してTalend Dictionary Serviceと共にTalend Data Preparation Talend Data Stewardshipをインストールした場合、コマンドは次のようになります。
    <Installation_path>/mongodb/bin/mongo dqdict -u dqdict-user -p duser --eval "db.dropDatabase()"
  4. <path_to_installation_folder>/dq_dict/database/に保存されている現在のインスタンスのdumpフォルダーを、バックアップ手順で取得したdumpフォルダーに置き換えます。
  5. コマンドプロンプトウィンドウから、dumpという名前のディクショナリーサービスのバックアップディレクトリーをインポートするコマンドを実行します。

    Windowsの場合:

    semantic-dictionary-import.bat

    Linuxの場合:

    semantic-dictionary-import.sh
  6. 設定を復元するには、<Installation_path>/dq_dict/apache-tomcat/confフォルダーのコンテンツを、バックアップされたコピーに置き換えます。

タスクの結果

Talend Dictionary Serviceインスタンスがリカバリーされます。