Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 681 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mongorestore don't know what to do with file "db/collection.bson", skipping

#11
mongorestore --uri "mongodb+srv://<user>:<password>@<host>" -d <dbname> <dump dir. address ./something/like/this>
This work fine for me
Reply

#12
I used docker to start my mongo db instance & I had default username and password
auth set for database.
Below is how my restore looked like.

```
mongorestore --authenticationDatabase admin -u root -p example -d test-db /data/test-db
```

So in-short something of this sort should work.

mongorestore --authenticationDatabase admin -u {USERNAME} -p {PASSWORD} -d {DB_NAME} {/DUMP_PATH}

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through