Skip to content

Backup only selected database #263

New issue

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

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

Already on GitHub? # to your account

Open
ya-kostik opened this issue Jun 18, 2018 · 5 comments
Open

Backup only selected database #263

ya-kostik opened this issue Jun 18, 2018 · 5 comments

Comments

@ya-kostik
Copy link

Hi!

How I can selecting database to backup?
Now all databases are being copied. How can I specify a name for one of them?

@timvaillancourt
Copy link
Contributor

Hi @ya-kostik. All databases/collections are backed up by this tool, by design.

You're able to restore only a specific database/collection using the mongorestore '--db=' and '--collection=' flags.

@ya-kostik
Copy link
Author

Thank you @timvaillancourt!

Do I get it right, that it's a feature, not a bug?
Does this drive and network overload?

@timvaillancourt
Copy link
Contributor

Hi @ya-kostik I would say backing up a single database is a feature request, not a bug.

@ya-kostik
Copy link
Author

Hi @timvaillancourt, It would be nice!

@dbmurphy
Copy link
Contributor

dbmurphy commented Dec 20, 2018 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants