Method: Backup::Database::MongoDB#oplog

Defined in:
lib/backup/database/mongodb.rb

#oplogObject

Creates a dump of the database that includes an oplog, to create a point-in-time snapshot of the state of a mongod instance.

If this option is used, you would not use the ‘lock` option.

This will only work against nodes that maintain a oplog. This includes all members of a replica set, as well as master nodes in master/slave replication deployments.



50
51
52
# File 'lib/backup/database/mongodb.rb', line 50

def oplog
  @oplog
end