Want to do an incremental backup for mongodb. Journaling? Oplog?
问题 I want to daily backups for a single mongodb database, probably with mongodump. To not lose any data, I would like this to be incremental so if something goes wrong in the middle of the day, I need to be able to replay changes for that day up til the point of failure after doing a mongorestore. Am I understanding correctly that I need to use an oplog for this? Or is journaling the answer? I tried doing the following: Turning my mongo database into a replica set of just one, so that it creates