All Products
Search
Document Center

OpenSearch:Migrate the application schema of an old application to a new application

Last Updated:Jul 18, 2023

This topic describes how to quickly migrate the application schema of an old application to a new application in the OpenSearch console.

Procedure

1. Log on to the OpenSearch console. On the Instance Management page, find the application whose application schema you want to migrate and click Details.

image

2. On the Details page, click Export Template to export configuration information, such as the data table schema, index configuration, and data source configuration.

image

3. After the template is exported, your browser automatically downloads a file in the TXT format.

4. On the Instance Management page, find the new application to which you want to migrate the application schema and click Configure.

image

5. On the Configure Application page, click Import Template.image

6. In the Use Template dialog box, click Upload Local File and select the downloaded TXT file to upload the TXT file.

image.png

7. After the file is uploaded, you can also modify the application schema of the new application. If you do not need to modify the application schema, click Next and then click Completed to complete the migration task.

Usage notes

  • This document is provided only for the references of cross-region migration of applications and migration between applications of different specifications and different types.

  • If the application that you want to migrate does not have a data source, only the application schema is migrated. In this case, call API operations to migrate data from the old application to the new application.

  • If the application that you want to migrate has a data source, you must specify the database information in the template.