We just migrated Bitbucket from server to datacenter, and the backup client is giving the following error:
/opt/Oracle/bb_backup.sh /opt/Oracle/bitbucket-backup-client-3.3.4
Running the Script from Config Folder
2018-08-20 13:55:41,733 INFO Initializing
2018-08-20 13:55:44,731 INFO Using Bitbucket 5.11.1
2018-08-20 13:55:45,089 INFO Contacting Bitbucket
2018-08-20 13:55:45,642 INFO Bitbucket has been locked for maintenance. It may be unlocked with token: 707b786d9593977caabb54c150f177470cbee45a
2018-08-20 13:55:46,125 INFO Unlocking Bitbucket using token: 707b786d9593977caabb54c150f177470cbee45a
2018-08-20 13:55:46,247 ERROR A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupFailedException: Bitbucket responded with the following error message (409): BACKUP maintenance cannot be started; it is not available in a cluster.
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.handleGeneralRestError(RestBitbucketService.groovy:348)
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.startBackup(RestBitbucketService.groovy:310)
... 10 more frames available in the log file