- Reference >
mongoShell Methods >- Database Methods >
- db.fsyncUnlock()
db.fsyncUnlock()¶
On this page
Definition¶
-
db.fsyncUnlock()¶ Unlocks a
mongodinstance to allow writes and reverses the operation of adb.fsyncLock()operation. Typically you will usedb.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).