On a remote server I have a file which is the mongodump output compressed, let me say a file called
mongodb.tar.gz there is a directory structure like this:
dump/dbname/ dump/dbname/blogs.bson dump/dbname/blogs.metadata.json dump/dbname/editors_choice.bson dump/dbname/editors_choice.metadata.json ...
Is there anyway to restore this dump without download and uncompress entire file locally?
I mean something like:
curl http://remoteserver/mongodb.tar.gz | gunzip | mongorestore -d dbname