You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering whether it would be possible to transform the output to mongodump-like output.
The benefit of this is that you can use mongorestore on the CLI if you wanted to restore to a database created using mongodb-backup, and similarly, it's be cool if mongodb-restore had the ability to read a normal mongodump folder.
This is what mongodump spits out
collectionA.bson
collectionA.meta.json //this file is not required but contains index data
collectionB.bson
collectionB.meta.json
...
@hitchcott
If its still relevant my own solution for mongodb backup creates backup that is compatible with the native mongodump
you can basically use mongorestore to restore backups created by my library.
will appreciate contribution! https://github.com/lihaibh/mongodb-snapshot
I was wondering whether it would be possible to transform the output to
mongodump
-like output.The benefit of this is that you can use
mongorestore
on the CLI if you wanted to restore to a database created usingmongodb-backup
, and similarly, it's be cool ifmongodb-restore
had the ability to read a normalmongodump
folder.This is what
mongodump
spits outAnd this is what
mongodb-backup
currently createsWould it possible to add directional compatibility for
mongodump
andmongorestore
by implementing this transformation?The text was updated successfully, but these errors were encountered: