I am looking for an option to export milvus data in ver 2.4 (sort of backup), and then migrate it to another machine. According to the doc, there is such option for migrating from ver 1,x.
Is it possible to perform milvus-migration export from ver 2.4?
When I tried it I got error message indicating that the migration tool is attempting to use metadata database connection arguments. It seems the tool requires a specific mode to handle Milvus 2.x without MySQL..
(venv) qa@Ubuntu2204-2f3833:~/MILVUS-MIGRATION/work$ ./milvus-migration export --config=./configs/export_m2m.yaml
[2024/07/24 13:57:06.174 +03:00] [ERROR] [cmd/export.go:46] ["fail to export meta collection, empty meta db connect args"] [stack="github.com/zilliztech/milvus-migration/cmd.init.func1nt/home/qa/MILVUS-MIGRATION/milvus-migration/cmd/export.go:46ngithub.com/spf13/cobra.(*Command).executent/home/qa/go/pkg/mod/github.com/spf13/[email protected]/command.go:987ngithub.com/spf13/cobra.(*Command).ExecuteCnt/home/qa/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115ngithub.com/spf13/cobra.(*Command).Executent/home/qa/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039ngithub.com/zilliztech/milvus-migration/cmd.Executent/home/qa/MILVUS-MIGRATION/milvus-migration/cmd/root.go:26nmain.mainnt/home/qa/MILVUS-MIGRATION/milvus-migration/main.go:16nruntime.mainnt/snap/go/10660/src/runtime/proc.go:271"]
(venv) qa@Ubuntu2204-2f3833:~/MILVUS-MIGRATION/work$ cat ./configs/export_m2m.yaml
dumper:
worker:
limit: 2
workMode: milvus1x
reader:
bufferSize: 1024
writer:
bufferSize: 1024
loader:
worker:
limit: 16
meta:
mode: none
source:
mode: local
local:
tablesDir: /home/qa/MILVUS/milvus/tables/
target:
mode: local
local:
outputDir: /home/qa/MILVUS/milvus/migration/output/
milvus2x:
endpoint: "localhost:19530"
username: xxxx
password: xxxx