Updated on 2022-09-23 GMT+08:00

Migrating Resources

To migrate resources in one workspace to another, you can use the resource migration function provided by DataArts Studio.

The resources that can be migrated include data services, metadata categories, metadata tags, metadata collection tasks, and the data connections created in Management Center.

Prerequisites

  • Resource import and export depend on the OBS service.
  • There are resources that can be migrated. For details on how to create data connections, see Creating Data Connections. For details on how to classify metadata and add tags, see Tags. For details on how to create collection tasks, see Task Management. For details on how to publish APIs, see Publishing an API.

Constraints

  • Collection tasks with the same name cannot be migrated repeatedly.
  • Categories and tags with the same name cannot be migrated repeatedly.
  • Imported and exported resources are stored in JSON format.
  • For security concerns, passwords of connections are not exported when the connections are exported. You need to enter the passwords when importing the connections.

Exporting a Resource

  1. On the DataArts Studio console, locate a workspace and click Management Center.
  2. In the navigation pane, choose Migrate Resources.
    Figure 1 Migrating Resources
  3. Click Create Export Task to configure the file name and the OBS path for saving the file.
    Figure 2 Export Task
  4. Click Next and select the resource to export.
    Figure 3 Selecting the resource to export
  5. Click Next and wait until the export is complete. The resource package is exported to the OBS path set in 3.
    Figure 4 Export completed

    If no result is displayed in 1 minute, the export fails. Try again. If the failure persists, contact the customer service or technical support.

Importing a Resource

  1. On the DataArts Studio console, locate a workspace and click Management Center.
  1. In the navigation pane, choose Migrate Resources.
    Figure 5 Migrating Resources
  1. Click Create Import Task and configure the path for saving the resources to import.
    Figure 6 Configuring the path for saving the resources to import
  2. Click Next and select the resource to import.
    Figure 7 Selecting the resource to import
  3. If you select DataSource, click Next to configure a data connection. The number of data connections required is determined by the number of data sources. Each data connection requires a password.
    Figure 8 Configuring a data connection
  4. Click Next and wait until the import is complete.
    Figure 9 Import completed

    If no result is displayed in 1 minute, the import fails. Try again. If the failure persists, contact the customer service or technical support.