1 year ago

#194859

test-img

Roman Nozhenko

after unzipping mongo dump, can't write it locally to database via mogorestore

I downloaded from a remote server a database dump in bz2 format

Then I extracted it with the command: bzip -d mongodump_name

I'm trying to deploy this database locally: mongorestore -db <path_to_folder_with_binary_dump_file>

And I get an error: don`t know what to do with file ....

What am I doing wrong and should the versions of mongo on the local and on the remote server strictly match?

Thanks for any help.

mongodb

mongorestore

0 Answers

Your Answer

Accepted video resources