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 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.

Constraints

  • 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.

    **Figure 1** Management Center

    Figure 1 Management Center

  2. In the navigation pane, choose Migrate Resources.

    **Figure 2** Migrating Resources

    Figure 2 Migrating Resources

  3. Click Create Export Task to configure the file name and the OBS path for saving the file. If OBS is unavailable, you only need to set the file name.

    **Figure 3** Export Task

    Figure 3 Export Task

  4. Click Next and select 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. If OBS is unavailable, you can click Download in the row of the corresponding migration task to download the exported resource package.

    **Figure 4** Export completed

    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.

    **Figure 5** Management Center

    Figure 5 Management Center

  1. In the navigation pane, choose Migrate Resources.

    **Figure 6** Migrating Resources

    Figure 6 Migrating Resources

  2. Click Create Import Task and configure the path for saving the resources to import. If no OBS bucket is available, select the resource package to be uploaded from a local path.

    **Figure 7** Configuring the path for saving the resources to import

    Figure 7 Configuring the path for saving the resources to import

  3. Click Next and select the resource to import.

    **Figure 8** Selecting the resource to import

    Figure 8 Selecting the resource to import

  4. 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 9** Configuring a data connection

    Figure 9 Configuring a data connection

  5. Click Next and wait until the import is complete.

    **Figure 10** Import completed

    Figure 10 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.