Reinstall your analytics subsystem, restore your analytics CR, secrets, and your database
backup.
About this task
Analytics subsystem backups can be restored in the same environment where they were taken, or in
a different environment that has the same network configuration, endpoints, and deployment profile.
You cannot restore an analytics subsystem backup in a different network environment, form factor, or
deployment profile. If you want to move your API Connect deployment to a
different form factor or change endpoints, see Migrating from v10 to v10 on a different form factor.
Procedure
- Install the replacement analytics subsystem, configuring the same
ai-endpoint
as your original installation.
- Update the analytics CR on your replacement installation with the analytics backup
settings and any other analytics features you configured in your previous
installation.
Your previous analytics settings are in your
infrastructure configuration
backup. If you are installed on
Cloud Pak for Integration or OpenShift with the top-level
CR, then add these settings to the
spec.analytics
section of your
APIConnectCluster
CR.
- Re-create the analytics secrets that you backed up in your infrastructure configuration
backup:
- Create the backup credential secret from your backup file:
analytics-backup-secret_backup.yaml.
kubectl -n <analytics namespace> apply -f analytics-backup-secret_backup.yaml
- If you are using the analytics offload feature, then create the offload secret from
your backup file: analytics-offload-secret_backup.yaml.
kubectl -n <analytics namespace> apply -f analytics-offload-secret_backup.yaml
- If your object-store has a self-signed CA certificate, then create the secret that
contains the certificate from your backup file.
kubectl -n <analytics namespace> apply -f analytics-objstore-CA-secret_backup.yaml
- If you manually created or customized any other analytics subsystem certificates, then
restore those secrets from their backup files.
kubectl -n <analytics namespace> apply -f <backup filename>
- Restore the analytics database: Restoring the analytics database.