> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/data-migrator/data-migrator-ja/tenpurto/yi-xing/dtano.md).

# データ移行の概要

## ![](https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FcfMTqg4Brbm9baWutclZ%2FSummary2-Small-Icon.svg?alt=media\&token=d1cf162d-c02d-4184-988e-7f7350e450fc) 概要

Data Migrator は、ある Salesforce 組織から別の組織へレコードをシームレスにコピーする強力なツールです。この記事では、テンプレートを使用してデータ移行ジョブを効率的に実行する手順を説明します。

**移行プロセスに関する重要なポイント:**

* 移行プロセス全体を通じて、ソース組織内のすべてのレコードはそのまま保持されます。
* バイナリファイルおよび ContentVersion レコードの移行がサポートされています。添付ファイル、ドキュメント、Salesforce Files などのファイルベースのレコードは、実際のファイル内容とともに移行されます。
* 標準価格表エントリの移行がサポートされています。これにより、すべての製品に Salesforce で既定（標準）の価格が設定され、デプロイ、商談、および依存レコードでエラーなく使用できます。
* オブジェクトに対してレコードマッピングが選択され、ソース組織とターゲット組織の両方にレコードが存在する場合、Data Migrator はソースに一致するようにターゲットレコードをインテリジェントに更新し、重複エントリを防いでデータの整合性を維持します。
* 適切に構成されたテンプレートはレコード間の関係を保持し、ターゲット組織内の参照と依存関係を維持します。

{% hint style="info" %}
データの移行を開始する前に、移行するオブジェクトとフィールドを定義するテンプレートを作成してください。テンプレートの作成を始める方法については、次の記事を参照してください。

* [テンプレートの概要](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/tenpurtono.md)
  {% endhint %}

## 移行例

Data Migration シリーズの記事では、Salesforce 組織間でデータを移行する方法を説明するために、次の例を使用します。この例では、すべての **取引先責任者** レコードを「Example Company」に関連付けます **アカウント**。 **取引先 ID** フィールドは、 **アカウント** と **取引先責任者** オブジェクト間の関係を保持するために移行に含まれます。この例では、各オブジェクトについてフィールドの一部のみを含めています。下の図は、移行対象として選択された具体的なフィールドと、どのレコードを移行するかを選択するために使用されたフィルター条件を示しています。

<div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FWhmNf5j5YzLJhzn6GJ6O%2FRunningAMigration-Example-01.png?alt=media&amp;token=9347409e-61ef-4705-a302-cd3c3706c9b9" alt="" width="563"><figcaption></figcaption></figure></div>

下のスクリーンショットは、この例で使用されているテンプレートを示しています。 **アカウント** オブジェクトがルートであり、 **取引先責任者** オブジェクトがその子オブジェクトです。

{% hint style="warning" %}
の間の関係を維持するには、 **アカウント** と **取引先責任者** レコードを選択する必要があります。 **取引先 ID** フィールドを **取引先責任者** オブジェクトで選択する必要があります。 **取引先 ID** フィールドは、 **アカウント** オブジェクトでは常に既定で選択されています。
{% endhint %}

<div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2F0xpTO3hcmbB9HJjqSETb%2FRunningAMigration-Example-02.png?alt=media&amp;token=91081188-728c-4fdb-9ca3-7871efe2a36b" alt="" width="563"><figcaption></figcaption></figure></div>

## 移行手順

{% stepper %}
{% step %}

### 作成

この手順では、テンプレート、ソース組織、ターゲット組織を選択し、データ移行を実行するために必要なメタデータスキーマがあることを確認します。手順については次の記事を参照してください。

* [移行ステップ 1: 作成](/data-migrator/data-migrator-ja/tenpurto/yi-xing/suteppu-1.md)
  {% endstep %}

{% step %}

### 確認

この手順では、データ移行によってソース組織から移行対象のレコードが取得されます。データ移行を続行する前に、テンプレート内の各オブジェクトについて取得されたレコードを確認できます。手順については次の記事を参照してください。

* [移行ステップ 2: 確認](/data-migrator/data-migrator-ja/tenpurto/yi-xing/suteppu-2.md)
  {% endstep %}

{% step %}

### 実行

この手順では、移行中に無効にする Salesforce の自動化を設定してから、移行を開始できます。手順については次の記事を参照してください。

* [移行ステップ 3: 実行](/data-migrator/data-migrator-ja/tenpurto/yi-xing/suteppu-3.md)
  {% endstep %}
  {% endstepper %}

## レコードマッピング

Data Migrator は、複数回の移行実行にわたってレコードの正確性を維持するためにレコードマッピングを使用します。オブジェクトに対してレコードマッピングを有効にすると、Data Migrator はソース組織とターゲット組織間で個々のレコードをマッピングします。これにより、以降の移行で新しいレコードが追加され、既存のレコードが更新されるようになります。移行中にレコードマッピングを使用するには、テンプレートで設定されている必要があります。レコードマッピングとその有効化方法の詳細については、次の記事を参照してください。

* [レコードマッピングの仕組み](/data-migrator/data-migrator-ja/tenpurto/yi-xing/rekdomappingunomi.md)
* [オブジェクトレコードマッピングの設定](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/obujekutorekdomappinguno.md)&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.flosum.com/data-migrator/data-migrator-ja/tenpurto/yi-xing/dtano.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
