Hello everyone I want to backup database mongodb on meteor app production by click button on app and then download database via browser. Anyone have sample mini project with tool backup that I mention above. Please suggest me.
Check for an npm package to backup a MongoDB Db
p.s. I have not used the package above
Mongo provides several tools for this, you will want to use mongoexport
and mongoimport
to achieve a restoration of a collection or mongodump
and mongorestore
for an entire db, very easy to use and manual pages below.
Thank you I will try this package