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

[Feature]: Optimizing Cross-Cluster Backup and Recovery #375

Open
zhuwenxing opened this issue Jul 3, 2024 · 1 comment
Open

[Feature]: Optimizing Cross-Cluster Backup and Recovery #375

zhuwenxing opened this issue Jul 3, 2024 · 1 comment

Comments

@zhuwenxing
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

The current cross-cluster backup and recovery operation is somewhat complicated, requiring a lot of manual intervention from users.

Describe the solution you'd like.

Assuming there are two clusters, Alice and Bob.

Set alias names for each cluster:

milvus-backup alias set alice -c alice_backup.yaml
milvus-backup alias set bob -c bob_backup.yaml

List the configuration information of the clusters:

milvus-backup alias list

This will show the configuration information for both clusters.

Check the configuration information of the Alice cluster:

milvus-backup check alice

Check the configuration information of the Bob cluster:

milvus-backup check bob

Create a backup for the Alice cluster:

milvus-backup create -n alice/backup_1

This creates a backup for the Alice cluster with the name backup_1.

List all backups for the Alice cluster:

milvus-backup list alice

List all backups for all aliases:

milvus-backup list

Copy a backup from the Alice cluster to the Bob cluster:

milvus-backup copy alice/backup_1 bob/backup_1

This copies the backup_1 from the Alice cluster to the Bob cluster and creates a backup named backup_1. If backup_1 already exists in the Bob cluster, an error will be reported.

Restore the Bob cluster using a backup:

milvus-backup list bob

You should see the backup copied from the Alice cluster.

Restore the Bob cluster from the backup:

milvus-backup restore bob/backup_1

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

@wayblink
Copy link
Contributor

wayblink commented Jul 3, 2024

good suggestion and design!

@wayblink wayblink mentioned this issue Jul 16, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants