Skip to content

PITR in mysql backup is not working #1017

@kannanvr

Description

@kannanvr

Report

Hi,

spec:
backup:
 enabled: true
 image: perconalab/percona-server-mysql-operator:main-backup8.4
 imagePullPolicy: IfNotPresent
 pitr:
   enabled: true
   binlogServer:
     connectTimeout: 20
     idleTime: 20
     image: percona/percona-server-mysql-operator:0.11.0
     readTimeout: 20
     serverId: 72
     size: 100
     writeTimeout: 20
     storage:
       s3:
         bucket: s3://mysql
         credentialsSecret: cluster1-s3-credentials
         region: us-west-2

Above is my backup section for the mysql. When i try taking the PITR option on mysql, then the binlog container came up but it is throwing the below log

Defaulted container "binlog-server" out of: binlog-server, binlog-server-init (init)
/opt/percona/binlog-server-entrypoint.sh: line 5: /usr/local/bin/binlog_server: No such file or directory

I dont see any percona image with binlog_server. Do you have any working image for PITR

More about the problem

I could not take the PITR from the operator

Steps to reproduce

  1. start the mysql operator
  2. enable PITR option on backup section
  3. binlog pod would come up

Versions

  1. Kubernetes: 1.30
  2. Operator: docker.io/perconalab/percona-server-mysql-operator:main
  3. Database: 8.4

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions