Skip to content

Add -d <database name> option in mongorestore because it's required as of mongo 3.0 or above #3378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

yofriadi
Copy link

note: your documentation guideline is not found

@kay-kim
Copy link
Contributor

kay-kim commented Jul 2, 2019

Thank you so much for your pull request and apologies for the long delay.

I believe the documentation is correct as is. For example:

~/mongo $ mongorestore dump/
2019-07-02T13:46:31.833-0400 preparing collections to restore from
2019-07-02T13:46:31.835-0400 reading metadata for test.salaries from dump/test/salaries.metadata.json
2019-07-02T13:46:31.835-0400 reading metadata for test.purchaseorders from dump/test/purchaseorders.metadata.json
2019-07-02T13:46:31.862-0400 restoring test.salaries from dump/test/salaries.bson
2019-07-02T13:46:31.889-0400 restoring test.purchaseorders from dump/test/purchaseorders.bson
2019-07-02T13:46:31.896-0400 no indexes to restore
2019-07-02T13:46:31.896-0400 finished restoring test.salaries (10 documents)
2019-07-02T13:46:31.897-0400 no indexes to restore
2019-07-02T13:46:31.897-0400 finished restoring test.purchaseorders (6 documents)
2019-07-02T13:46:31.897-0400 restoring users from dump/admin/system.users.bson
2019-07-02T13:46:31.935-0400 restoring roles from dump/admin/system.roles.bson
2019-07-02T13:46:32.018-0400 done

As such, we will close this pull request. However, we very much appreciate your time and effort in helping us improve the docs. Once again, apologies for the long delay.

Regards,

Kay Kim

@kay-kim kay-kim closed this Jul 2, 2019
mongo-cr-bot pushed a commit that referenced this pull request Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants