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

[QUESTION]: How to copy collection from one milvus instance to another? #2019

Open
1 task done
heibaidaolx123 opened this issue Apr 3, 2024 · 1 comment
Open
1 task done
Labels
kind/question A question to answer

Comments

@heibaidaolx123
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What is your question?

Hi,
I want to copy a collection with auto-id on from one instance to another, and keeps all fields unchanged.
I tried the LocalBulkWriter to save the rows generated by collection.query_iterator, and an error was thrown:
<MilvusException: (code=1, message=The primary key field 'id' is auto-id, no need to provide)>
So my question is, how to copy all rows of a collection on to another collection (both with audo-id on), to keep the primary field id unchanged.

Anything else?

No response

@heibaidaolx123 heibaidaolx123 added the kind/question A question to answer label Apr 3, 2024
@XuanYang-cn
Copy link
Contributor

@heibaidaolx123 Try milvus backup tool https://github.com/zilliztech/milvus-backup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question A question to answer
Projects
None yet
Development

No branches or pull requests

2 participants