MongoDB replication to local hard drive MonogDB's dynamic schema has made me thinking about replacing MySQL. I eventually want to use MongoDB as the default for all new app developments.


But this project runs on only 1 dedicated server (with 2 hard drives).


Docs about "MongoDB for production" recommends multiple servers. This makes me wonder if MongoDB is only suited for large commercial projects?

Anyways... I am wondering if the live database data can be replicated to the second hard drive as a replica of the original data (to recover from any data corruption on the primary).

I did take a look at mongodump, but I am wondering if there is anything more realtime like the replica set.

Currently my server backs up everything to the second hard drive &amp; rsync is scheduled to sync everything in this drive to a remote machine.

Any thoughts against the use of MongoDB in a single server environment is also appreciated. The database size is around 7GB.

Thanks
Replication in MongoDb is a simple process to setup and I configured it locally during an online course I completed via the 10gen website, obviously this will fail over without an issue to your other instance but depending upon what fails on your machine will it be of any use!

I'd advise working your way through the free course they have it as it will solve 90% of the queries you will have with evaluating the product (replica sets are part of this)

We had it my old company and did run it on several machines for full redundancy and automatic failover to another node, you'll need a witness too.