-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: mongorestore
-
Server Tools D (12/11/15), Server Tools E (01/08/16), Server Tools F (01/29/16)
-
Needed
Sources are these:
1) dump/oplog.bson (from mongodump --oplog)
2) dump/local/oplog.rs.bson (from mongodump -d local -c oplog.rs) (replica-set replication)
3) dump/local/oplog.$main.bson (same as above) (master-slave replication)
4) mongorestore --oplogReplay --oplogLimit <ts> --oplogFile <file.bson> (explicitly specify a file)
If 1 and 4 both exist there should be an error. If either 1 or 4 exist but not both, they should take priority. If neither 1 or 4 exist, but 2 and 3 both exist there should be an error.
- is depended on by
-
TOOLS-125 add flag to mongorestore so it restores only oplog.bson, for use with --oplogLimit
- Closed
- is duplicated by
-
SERVER-9536 mongodump oplog doesn't work with mongorestore oplogreplay
- Closed