Skip to content

Add ability to backup only single database #3

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

vdmitriy
Copy link

Hi @istepanov. Thank you for great tool. Please merge my improvement to backup only single database.

@tenorok
Copy link

tenorok commented Feb 18, 2017

It seems that this repository is orphaned...

Opportunity to backup only single database is good, but what if I need to backup two databases?
Unfortunately now mongodump not providing opportunity to backups multiple databases at one time (TOOLS-22, TOOLS-31).

But in my fork I'm created environment variable MONGO_DB_NAMES, which workaround this injustice. For dump selective databases specify they names through space. This will create few archives with names like 20170218_025718-db1 and 20170218_025718-db2 for each database from option.

@istepanov istepanov force-pushed the master branch 4 times, most recently from 61421de to c1c8b24 Compare April 12, 2017 20:04
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