-
Type: Question
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.2.0
-
Component/s: Tools
-
None
Ive been trying to use the mongooplog tool to replay operations from a live running replica set we have into a local db.
However it keeps failing with:
Wed Sep 5 07:39:27 creating new connection to:127.0.0.1:27017
Wed Sep 5 07:39:27 BackgroundJob starting: ConnectBG
Wed Sep 5 07:39:27 connected connection!
connected to: 127.0.0.1
Wed Sep 5 07:39:27 [oplogreplay] going to connect
Wed Sep 5 07:39:27 BackgroundJob starting: ConnectBG
Wed Sep 5 07:39:27 [oplogreplay] connected
Wed Sep 5 07:39:27 [oplogreplay] starting from Sep 4 07:39:27:0
Wed Sep 5 07:39:27 [oplogreplay] repl: local.oplog.rs.find({ ts:
})
Wed Sep 5 07:39:27 [oplogreplay]
Wed Sep 5 07:39:27 [oplogreplay] error getting oplog
Wed Sep 5 07:39:27 [oplogreplay]
I then realised looking back at the documentation for mongooplog (http://docs.mongodb.org/manual/reference/mongooplog/) that
If the mongod instance specified by the --from argument is running with authentication, then mongooplog will not be able to copy oplog entries.
Firstly just to be sure: is this the reason why its failing for me?
Secondly is this likely to be changed in the future? so that you can use it against a mongod instance that requires authentication?
Thanks
Nadeem
- duplicates
-
TOOLS-173 mongooplog needs correct options (auth, ssl, ipv6 for src/dst)
- Closed