Backing up your OpenShift top-level CR API Connect deployment

About this task

A full API Connect backup consists of:
  • 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.

Procedure

  1. Take a backup of your top-level CR:
    oc -n <namespace> get ApiconnectCluster -o yaml > apic_cr_backup.yaml
  2. Take backups of each subsystem, following the documented steps: