To avoid problems with importing the space, export all dependencies together with the space. Be mindful when selecting assets to always also include the dependencies of those assets, for example the data assets or connections for a data
flow, a notebook, connected data, metadata imports, data quality definitions and rules, or jobs. There is no check for dependencies. If you don't include the dependencies, subsequent project imports will not work.
To export space assets from the UI:
From your deployment space, click the import and export space icon. From the list, select Export space.
Click New export file. Specify a file name and an optional description. Tip: To encrypt sensitive data in the exported archive, type the password in the Password field.
Select the assets that you want to export with the space.
Click Create to create the export file.
After the space is exported, click the 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 programmatically
Copy link to section
You can export space assets programmatically by using the watsonx.ai Python client library or CPDCTL.
Exporting space assets by using the Python client library
Copy link to section
To export space assets programmatically by using the watsonx.ai Python client library, use the client.Export() function. For more information, see watsonx.ai Python client library.
Exporting space assets by using the cpdctl tool
Copy link to section
By using the cpdctl tool, you can export these types of assets:
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.