Fix This Page
Navigation

db.fsyncUnlock()

Definition

db.fsyncUnlock()

Unlocks a mongod instance to allow writes and reverses the operation of a db.fsyncLock() operation. Typically you will use db.fsyncUnlock() following a database backup operation.

db.fsyncUnlock() is an administrative operation.

Compatibility with WiredTiger

With WiredTiger, db.fsyncLock() cannot guarantee a consistent set of files for low-level backups (e.g. via file copy cp, scp, tar).