Home:ALL Converter>Relocating live mongodb data to another drive

Relocating live mongodb data to another drive

Ask Time:2014-04-10T01:44:03         Author:Matan L

Json Formatter

I have a mongodb running on windows azure linux vm,

The database is located on the system drive and i wish to move it to another hard drive since there is not enough space there.

I found out this post : Changing MongoDB data store directory

These seems to be a fine solution suggested there, yet there is another person who mentioned something about copying the files,

My database is live and getting data all the time, how can i make this proccess with lossing the least data possible ?

Thanks,

Author:Matan L,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/22970112/relocating-live-mongodb-data-to-another-drive
yy