This Tool is currently deprecated, please use VTS (Vector Transport Service) instead. VTS is a new tool that supports migrating data from various data sources to Milvus 2.x. It is more powerful and flexible than milvus-migration.
milvus-migration is a data migration tool for Milvus that supports importing Milvus 0.9.x ~ 1.x / faiss / elasticsearch7.x+ / Milvus2.3+ datas to milvus 2.x.
Operating System | Supported Versions |
---|---|
CentOS | 7.5 or later |
Ubuntu LTS | 18.04 or later |
Software | Version |
---|---|
Milvus | 0.9.x, 1.x or 2.x |
Elasticsearch | 7.x or 8.x |
go | 1.22.2 or later |
Source Data Type | Target Data Type |
---|---|
Milvus 0.9.x - 1.x | Milvus 2.x |
Elasticsearch 7.x-8.x | Milvus 2.x |
Faiss (Beta) | Milvus 2.x |
Milvus 2.3 + | Milvus 2.x |
git clone git@github.com:zilliztech/milvus-migration.git
go build
milvus-migration
binary file. Place this file and the migration.yaml
file in
the directory structure like below:directory
---- milvus-migration
---- configs/migration.yaml
Run the command dump
to dump the source data to numpy:
./milvus-migration dump
Finally, load the numpy files to Milvus 2.x successfully by using the load
command:
./milvus-migration load
Run the command start
to migration es->2.x. here start
== dump && load
cmd
./milvus-migration start
./milvus-migration start
how to learn more about using migration tool, see examples doc below:
When migration finished, you can use visual tool Attu
or use Milvus SDK verify your new collection data rows.
After the Milvus collection Data migration is completed, we can use SDK or Attu
to create index and load collection for the next search operation.
Contributions to milvus-migration are welcome from everyone. See Contributing for details of the contribution workflow.