lihaibh / ditto

NPM library that helps managing MongoDB snapshots easily and efficiently
https://www.npmjs.com/package/mongodb-snapshot
MIT License
48 stars 6 forks source link

Is there a way to backup all existing databases in one go? Else can multiple database backups (manually defined) be saved to a single file? #16

Closed paripooranan closed 3 years ago

lihaibh commented 3 years ago

There is no such a feature currently, you can only use the same source and transfer it to multiple targets, for example, copy database to multiple databases or database + file, etc...

in your case you want multiple sources to transfer to a single target. The reason why i didnt do it is because i wanted to preserve the backup in a known format.

We can add a feature though to ease the use of the library to create multiple files for each database.

paripooranan commented 3 years ago

Thanks!