scottrogowski / mongita

"Mongita is to MongoDB as SQLite is to SQL"
BSD 3-Clause "New" or "Revised" License
888 stars 27 forks source link

mongorestore and mongodump equivalent functionality #25

Open ipritom opened 2 years ago

ipritom commented 2 years ago

That's an awesome tools, and really very close to MongoDB. Is there any feature equivalent to mongodump and mongorestore (or mongoexport and mongoimport)? If not, it would be a useful addition to the module. Thanks.

scottrogowski commented 2 years ago

Are you maybe looking for this? https://github.com/scottrogowski/mongita/blob/master/scripts/mongitasync

ipritom commented 2 years ago

That's another great functionality I've just come to know from you reply. But I was looking for something to save the entire database in json or bson format. Currently in the MongitaClientDisk host location I'm seeing some files with $ sign in their names. I can dump all the data manually in json/bson file. I was curious if the functionality is already builtin.

scottrogowski commented 2 years ago

Nope. Nothing like that is implemented at the moment. I’m curious about your use case though?