Migrating Resources

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

Resources that can be migrated include the data connections in Management Center.

Prerequisites

Constraints

Exporting a Resource

  1. Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
  2. On the DataArts Studio console, locate a workspace and click Management Center.
  3. In the navigation pane, choose Migrate Resources.

    Figure 1 Migrating Resources

  4. 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 2 Export Task

  5. Click Next and select the resources to export.

  6. Click Next and wait until the export is complete. The resource package is exported to the OBS path you have set.

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

  7. After the export is complete, you can click Download in the row of the corresponding migration task to download the exported resource package.

    Figure 4 Downloading the exported result

Importing a Resource

  1. Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
  2. On the DataArts Studio console, locate a workspace and click Management Center.
  3. In the navigation pane, choose Migrate Resources.

    Figure 5 Migrating Resources

  4. Click Create Import Task. On the displayed page, select an import mode and set the OBS bucket and path or local path that stores resources. The resource to be imported must be a .zip file exported from the console.

    Figure 6 Configuring the path that stores the resources to be imported

  5. Click Create Import Task and upload a .zip resource file that you have exported.
  6. Click Next and select the resources to import.

  7. If you select DataSource, click Next to configure a data connection.

    Figure 7 Configuring a data connection

  8. Click Next and wait until the import task is delivered. When the import task is delivered successfully, the system displays message "Import task started."

    Figure 8 Import task started

  9. Click OK. You can view the import result in the resource migration task list.

    Subtasks that fail are marked in red. You can click their names to view the failure causes.
    Figure 9 Viewing the import result