When backing up API Gateway, every day with the ssgbackup script. we get the following error on one particular cluster configuration, in one node the DB backup is failing.
Error:
/opt/SecureSpan/Gateway/config/backup/ssgbackup.sh -image imagename -maindb
Backup of Gateway image partially succeeded.
Failed component: maindb
Release : 9.4
Component : API GTW ENTERPRISE MANAGER
On a cluster gateway the maindb can only be backed up on the primary node .
When trying the backup on the secondary node it will throw this error.
There is no need to take backup on the the secondary as this is a replica of the database on the master node.