Move Decision Center data
Move your original on-premises data to the Decision Center of the Cloud Pak.
Before you begin
About this task
Now that you have a URL to access your Decision Center on the Cloud Pak, you use
curl
to run an administrative endpoint of the Decision Center REST API that moves the
Decision Center data.
The administrative endpoint of the Decision Center REST API does the following actions:
- Uploads to the server the database archive that you exported from your on-premises installation, and then expands it into a temporary directory.
- Imports the expanded archive to your target database in background mode.
You use two Decision Center REST APIs:
- /v1/repository/dump/import: Imports a database dump into the Decision Center repository. It uses the
following parameters:
- backgroundMode: If set to
true
, it runs the import as a background task. By default, it is set tofalse
. - eraseSchema: If set to
true
, it deletes and replaces the existing schema. By default, it is set tofalse
. - datasource: The data source where the repository is located. By default, it uses jdbc/datasource.
- backgroundMode: If set to
- /v1/repository/dump/background: Checks the state of the import task that runs in the background. A No response means the import is complete.
For hostport
, specify the URL to access Decision Center on the Cloud Pak. Make sure
that the URL ends with /decisioncenter-api
.
The optional argument <datasource>
can be used to specify the data source if
it is different from jdbc/ilogDataSource
.
To prevent certificate problems when you move your data, use the -k
option.
Procedure
Results
Your original on-premises data has now been moved to the Decision Center of the Cloud Pak.