简体   繁体   中英

Backup mongodb database from node.js

I've been searching for an easy way for backing up an entire database in a simple step in node.js but surprisingly i din't find an easy to use module for this purpose.

The easiest solution I found on the net is using shelljs to run a shell mongodump command.

Is there any other way for making this task easy?

If you're thinking about backing up to S3, perhaps this would work? https://github.com/theycallmeswift/node-mongodb-s3-backup

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM