

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# スナップショットを使用してデータを移行する
<a name="snapshot-based-migration"></a>

インプレースアップグレードは、ドメインを新しい OpenSearch または Elasticsearch バージョンにアップグレードする従来よりも簡単で迅速な、信頼性の高い方法です。スナップショットは、Elasticsearch の 5.1 より前のバージョンから移行する必要がある場合や、まったく新しいクラスターに移行する場合に適しています。

次の表は、スナップショットを使用して、OpenSearch または Elasticsearch の異なるバージョンを使用するドメインにデータを移行する方法を示しています。スナップショットの作成と復元の詳細については、「[Amazon OpenSearch Service でのインデックススナップショットの作成](managedomains-snapshots.md)」を参照してください。


| 元のバージョン | 目的のバージョン | 移行プロセス | 
| --- | --- | --- | 
| OpenSearch 1.3 または 2.x | OpenSearch 2.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| OpenSearch 1.x | OpenSearch 1.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 6.x または 7.x | OpenSearch 1.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 6.x | Elasticsearch 7.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 6.x | Elasticsearch 6.8 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 5.x | Elasticsearch 6.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 5.x | Elasticsearch 5.6 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 2.3 | Elasticsearch 6.x | Elasticsearch 2.3 のスナップショットは 6.*x* とは互換性がありません。データを 2.3 から 6.*x* に直接移行するには、新しいドメインでインデックスを手動で再作成する必要があります。<br />または、この表の 2.3 から 5.*x* のステップに従い、新しい 5.*x* ドメインで `_reindex` オペレーションを実行して、2.3 インデックスを 5.*x* インデックスに変換してから、5.*x* から 6.*x* のステップに従うこともできます。 | 
| Elasticsearch 2.3 | Elasticsearch 5.x |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 
| Elasticsearch 1.5 | Elasticsearch 5.x | Elasticsearch 1.5 のスナップショットは 5.*x* とは互換性がありません。データを 1.5 から 5.*x* に移行するには、新しいドメインでインデックスを手動で再作成する必要があります。 1.5 のスナップショットには 2.3 との互換性が*あります*が、OpenSearch Service 2.3 のドメインでは `_reindex` オペレーションがサポートされていません。それらのインデックスを再作成できないため、1.5 ドメインで作成されたインデックスは、2.3 スナップショットから 5.*x* ドメインへの復元に失敗します。  | 
| Elasticsearch 1.5 | Elasticsearch 2.3 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/snapshot-based-migration.html)  | 