Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]multiple default backup policies error occurred when doing backup for mysql cluster #538

Open
tianyue86 opened this issue Jan 13, 2025 · 2 comments
Assignees
Labels
bug Something isn't working Stale
Milestone

Comments

@tianyue86
Copy link

Describe the env
Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.22
kbcli: 1.0.0-beta.9

To Reproduce
Steps to reproduce the behavior:

  1. Create apecloud-mysql cluster with yaml below
    myproxy.yaml.txt

  2. List instance of the cluster

image
  1. error occurred when doing backup
kbcli cluster backup scale-mjyogv --method xtrabackup --namespace default 
error: cluster "scale-mjyogv" has multiple default backup policies
  1. check policy
    k get bp
    NAME BACKUP-REPO STATUS AGE
    mongo-psfzat-mongodb-backup-policy Available 2d21h
    postgres-imsuhd-postgresql-backup-policy Available 4d2h
    scale-mjyogv-etcd-backup-policy Available 114m
    scale-mjyogv-mysql-backup-policy Available 114m

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@tianyue86 tianyue86 added the bug Something isn't working label Jan 13, 2025
@tianyue86 tianyue86 added this to the Release 1.0 milestone Jan 13, 2025
@wangyelei
Copy link
Contributor

多个组件支持备份 的话,需要让用户指定下组件,然后在过滤backupPolicy。 现在是集群级别过滤的

Copy link

This issue has been marked as stale because it has been open for 30 days with no activity

@github-actions github-actions bot added the Stale label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants