Backing up your Cloud Pak for Integration API Connect deployment
How to backup your API Connect configuration and subsystem databases.
About this task
- Infrastructure configuration backup: The infrastructure configuration backup includes everything
that you configure for API Connect in your
deployment environment, such as:
- Custom resource (CR) YAML files.
- Custom certificates.
- Encryption secrets.
- Backup secrets.
- Subsystem database backups: The management, portal, and analytics subsystems all have their own
databases that must be backed up:
- Management database contains everything users configure in the management UIs, REST API, toolkit CLI, and portal sites (excluding Drupal customizations).
- Portal database contains all portal and site customizations.
- Analytics database contains all API event data, and the settings of analytics features configured in the management UIs.
When you backup API Connect from
a primary site to a disaster recovery (DR) site, API Connect that you deployed as part of CP4I uses
Keycloak as an OIDC registry. The Keycloak endpoints are generated based on the
*.apps.cluster.basedomain for a particular cluster. If API Connect backups from a primary site
are restored on the DR site, the Keycloak endpoints at DR point to the ones at the primary site,
since this configuration is a part of the management subsystem backup. This can cause login failures
for you while using this registry, as now the OAuth call is redirected to the primary site
endpoint.
To resolve this issue, after restoring API Connect, update the Keycloak configuration and verify the test user authentication to ensure that the Keycloak endpoints are correctly configured.