On Wed, Aug 7, 2013 at 8:03 AM, Daniel Hodgin <
hodgin...@gmail.com> wrote:
> My mongodump script uses the following command > mongodump --port 27017
> --out c:\backups\ --username admin --password password
> --authenticationDatabase admin --oplog
> the --oplog param to tell it to also dump the oplog since
> I'm using a replica set (very important!)
Just to clarify something - the --oplog flag makes point-in-time
recovery possible by dumping
the last portion of the --oplog at the end of the mongodump - from the
time mongodump started till
it's finished. It does not dump out the entire oplog. If you wanted
to dump out the oplog you
would have to do that with a separate mongodump command (with -d local
-c
oplog.rs).
Asya