How do I change my path to store data? #34182
Answered
by
yhmo
haozhuang0000
asked this question in
Q&A and General discussion
-
Currently my milvus is build under path : /home/user How can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
yhmo
Jun 26, 2024
Replies: 3 comments 3 replies
-
In which way you deployed the milvus? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
haozhuang0000
-
@yhmo Thanks for helping! Very clear instruction on how to move milvus db to another path |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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…