Moving Decision Center data
Now that you have a URL for your Operational Decision Manager on Certified Kubernetes, you use
curl to run an administrative endpoint of the Decision Center REST API that moves the
Decision Center data.
About this task
- 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.
/v1/repository/dump/import- Imports a database dump into the Decision Center repository. Parameters are:- backgroundMode: If true, run the import as a background task (default is false)
- eraseSchema: If true, delete and replace the existing schema (default is false)
- datasource: Data source where the repository is located (default is jdbc/datasource)
/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 the <login> and <password> required in the
curl commands, provide the credentials to access Decision Center on Certified Kubernetes. Make
sure that the user you enter has both the rtsAdministrator and rtsInstaller roles (typically user
odmAdmin). The login and password in the URL can be replaced with an appropriate method of
authentication, such as an authorization header.
For <host:port>, specify the URL to access Decision Center on Certified Kubernetes. Make
sure that the URL ends with /decisioncenter-api.
The optional argument <datasource> can be used to specify the datasource 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 Certified Kubernetes.