mongodb-backup

JSON →
library 1.6.9 ·javascript
verified Jun 5, 2026

A Node.js library for creating backups of MongoDB databases by programmatically invoking mongodump-like functionality. Current stable version is 1.6.9, with a history of weekly or monthly releases. It supports streaming backups, tar packaging, collection selection, query filtering, and metadata preservation. Compared to direct mongodump usage, it provides a JavaScript API suitable for integration into build processes or deployment scripts. Requires Node >=4 and uses BSON for binary data serialization.