Migrating Resources

To migrate data services created in one environment to another, you can use DGC resource migration function.

Prerequisites

  • There are resources that can be migrated in the system. Create data connections by referring to Creating Data Connections.
  • You have created OBS buckets and folders for data storage.

Imported and exported resources are stored in JSON format.

Exporting a Resource

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  1. In the Lifecycle area, choose Management Center > Resource Migration. The Resource Migration page is displayed.
  2. Click Create Export Task to configure the save path and file name.
    Figure 1 Configuring the save path and file name
  3. Click Next and select the resource to be exported.
    Figure 2 Selecting the resource to be exported
  4. Click Next and wait until the export is complete.

    The exported resource is in JSON format and saved in the path specified in step 3.

    If no result is displayed within 1 minute, the export fails. Try again or contact after-sales personnel for technical support.

    Figure 3 Export complete

Importing a Resource

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  1. In the Lifecycle area, choose Management Center > Resource Migration. The Resource Migration page is displayed.
  1. Click Create Import Task and configure the path for saving the resources to be imported.
    Figure 4 Configuring the storage path of the resource to be imported
  2. Click Next and select the resource to be imported.
    Figure 5 Selecting the resource to be imported
  3. Click Next and configure a data connection. The number of data connections to be configured is the same as the number of data sources. You need to enter a new password each time.
    Figure 6 Configuring a data connection
  4. Click Next and wait until the import is complete.

    If no result is displayed within 1 minute, the import fails. Try again or contact after-sales personnel for technical support.

    Figure 7 Import complete