Due to incompatibility with my S3-compatible HCP object storage (it does not tolerate colon in file names :) I need to make changes in the XtraDB operator backup script.
How to do it? Where is the source code? Which branch to use?
I use XtraDB cluster installed with Helm chart v 1.9.1
What is done so far:
I downloaded this code main branch percona-docker/percona-xtradb-cluster-8.0-backup at main · percona/percona-docker · GitHub
I made changes in the run_backup.sh
script (only generated backup file name was changed), then build a Docker image.
Made following changes in values.yaml
:
updateStrategy: Never
backup:
enabled: true
image: "chudinov/mycustom-percona-xtradb-cluster-8.0-backup:latest" # my custom image
After the cluster was reinstalled with this custom backup image the following error comes up:
ERROR: handshake with remote endpoint ssl://10.200.89.29:4567 failed: asio.ssl:337047686: 'certificate verify failed' ( 337047686: 'error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed')
This error is often caused by SSL issues.
How to fix this? Perhaps I’am just using wrong backup script branch?