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

[Improvement] Check existence of BackupRepo before creating a Backup #74

Closed
shanshanying opened this issue Nov 28, 2023 · 1 comment · Fixed by #337
Closed

[Improvement] Check existence of BackupRepo before creating a Backup #74

shanshanying opened this issue Nov 28, 2023 · 1 comment · Fixed by #337
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers Stale
Milestone

Comments

@shanshanying
Copy link
Contributor

Kubernetes: v1.27.3
KubeBlocks: 0.8.0-alpha.9
kbcli: 0.8.0-alpha.9

There is no backup repo by default.
When one creates a cluster, say mysql raft-group cluster, and creates a backup for that cluster.
He won't any error message until he checks the status of the newly created backup CR.

  1. make sure there is no backup-repo
kbcli backuprepo list
No backup repository found
  1. create a mysql cluster
kbcli cluster create mysql mycluster
  1. create a backup
kbcli cluster backup mycluster --method xtrabackup

and this backup failed due to error: no default BackupRepo found

we'd better check the existence of backuprepo ahead.

@shanshanying shanshanying added the enhancement New feature or request label Nov 28, 2023
@shanshanying shanshanying added the good first issue Good for newcomers label Nov 28, 2023
@ldming ldming assigned ldming and unassigned ldming Dec 4, 2023
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 Jan 22, 2024
@gnolong gnolong self-assigned this May 7, 2024
@gnolong gnolong linked a pull request May 8, 2024 that will close this issue
@github-actions github-actions bot added this to the Release 0.9.0 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants