How do I change my path to store data? #34182
-
Currently my milvus is build under path : /home/user How can I do this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
In which way you deployed the milvus? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@yhmo Thanks for helping! Very clear instruction on how to move milvus db to another path |
Beta Was this translation helpful? Give feedback.
Follow these steps:
Assume you put the "standalone_embed.sh" under this path /home/user/test, after you run the command
bash standalone_embed.sh start
, you will see a new file "embedEtcd.yaml" and a new subdirectory named "volumes" under this path:Stop the milvus by command
bash standalone_embed.sh stop
Use the command "docker ps -a" to list all the docker containers, you will see a container named "milvus-standalone"
Use the command "docker rm [container_id]" to delete the "milvus-standalone" container
Copy the entire directory /home/user/test to /data/user/test
Under the /data/user/test, run command
bash standalone_embed.sh start
again. You will see a new milvus standalone…