Configuring local backup settings for a fresh install of the Management subsystem on OpenShift or Cloud Pak for Integration

Configure local backups for the API Connect Management subsystem that you will deploy in your OpenShift or Cloud Pak for Integration environment.

About this task

When creating an instance of API Connect, use the advanced configuration settings to configure database backups for the Management subsystem.

Procedure

Configure the Management section of the top-level APIConnectCluster installation CR with the databaseBackup subsection.

Specify schedule and repoRetentionFull, the default settings are 01:00 UTC and 14 days.

databaseBackup:
  schedule: "0 1 * * *"
  repoRetentionFull: 14
Table 1. Backup configuration settings
Setting Description
schedule Cron like schedule for performing automatic backups. The format for the schedule is:
  • * * * * *
  • - - - - -
  • | | | | |
  • | | | | +----- day of week (0 - 6) (Sunday=0)
  • | | | +------- month (1 - 12)
  • | | +--------- day of month (1 - 31)
  • | +----------- hour (0 - 23)
  • +------------- min (0 - 59)

The timezone for backups is that of the node on which the postgres-operator pod is scheduled.

The default is daily backups at 01:00 UTC.

All scheduled Management subsystem backups are of type full only.

repoRetentionFull - The number of full local backups to retain. When the next full backup successfully completes, and the specified number of retained backups is reached, the oldest full backup is deleted. All incremental backups and archives associated with the oldest full backup also expire. Incremental backups are not counted for this setting.

Applies to both manual backups and scheduled backups.

Minimum value: 1

Maximum value: 9999999

Default: 14