Database Reference
In-Depth Information
Migrating a standalone mongod instance
Basically, there are two ways to move a standalone
mongod
instance to another server:
• Convert it to a replica set and follow replica set migration
• Move
dbpath
to the new server manually
However, the first approach is recommended since it has less outage. We will introduce
both methods in further sections.