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¶
On the DataArts Studio console, locate a workspace and click Management Center.
In the navigation pane, choose Migrate Resources.
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.
Click Next and select the resource to export.
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.
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¶
On the DataArts Studio console, locate a workspace and click Management Center.
In the navigation pane, choose Migrate Resources.
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.
Click Next and select the resource to import.
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.
Click Next and wait until the import is complete.
If no result is displayed in 1 minute, the import fails. Try again. If the failure persists, contact the customer service or technical support.