IBM Cloud Pak® for Data Version 4.6 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Exporting space assets
You can export assets from a deployment space so that you can share the space with others or reuse the assets in another space.
For a list of assets that you can export from space, refer to Adding assets to a deployment space.
Exporting space assets from the UI
To export space assets from the UI:
- From the space, click the export space (
) icon.
- Click Export space.
- Click New export file, specify a file name and an optional description.
- Select the assets that you want to export with the space. To encrypt sensitive data in the exported archive, type the password in the Password field.
- Click Create to create the export file.
- Click Download to save the file.
You can reuse this space by choosing Create a space from a file when you create a new space.
Exporting space assets by using the cpdctl tool
By using the cpdctl tool, you can export these types of assets:
wml_modelwml_model_definitionwml_pipelinewml_functionwml_experiment
Refer to this example code:
$ cpdctl asset export start --space-id <space id> --assets '{"all_assets": true}' --name <my exported space>
...
ID: <export id>
Name: <my exported space>
Created: <date>
State: completed
$ cpdctl asset export download --space-id <my exported space> --export-id <export id> --output-file /tmp/space.zip
...
OK
Output written to /tmp/space.zip
For more details, refer to cpdctl tool documentation.
Exporting and importing a space by using the Python client
For an example of how to export and import a deployment space by using the Watson Machine Learning Python client, view or download this sample notebook.
Learn more
- For details on importing whole spaces and projects into an existing space, refer to Importing spaces and projects into existing deployment spaces.
Parent topic: Deployment spaces