Skip to content
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

Problem running the MongoDB back up instructions #5

Open
patrocinio opened this issue Sep 6, 2018 · 3 comments
Open

Problem running the MongoDB back up instructions #5

patrocinio opened this issue Sep 6, 2018 · 3 comments

Comments

@patrocinio
Copy link
Contributor

Hi Eduardo. Jonathon Goldsworthy said I should reach out to you directly to ask about your ICP Backup/Restore stuff on Github here . I’m using some of the commands and have questions about the MongoDB backup. I am trying to run the job you defined and I noticed that the command has arguments in the wrong order
This
command: ["mongodump", "--host", "mongodb-mongodb", "--password", "password", "--out", "--verbose", "/dump"]
Should be
command: ["mongodump", "--host", "mongodb-mongodb", "--password", "password", "--out", "/dump", "--verbose"]

And lastly, running the job results in logs stating that a valid database server could not be found. Looking at the mongodb secrets in ICP, the password value you have there also doesn’t match and there is no service that uses mongodb-mongdo, only icp-mongodb and mongodb. Do you have any other documentation that deals specifically for backup/restore data from MongoDB in both single and multi-master ICP clusters?

I’m pulling together the commands for a Backup/Restore strategy at ABN AMRO and they will absolutely need (same with other large customers) this defined and I have not yet seen anything definitive to use as a reference.

Thanks for your time

@fgimenezm
Copy link

Moreover, at least in my setup with ICP community edition, the mongodb is configured with SSL and mongodump needs a client certificate.
I think the instructions for MongoDB are a good starting point but they are lacking a lot of details.

@jabbott7335
Copy link
Collaborator

Thanks for the heads up. I will be working on this over the next couple weeks. Please keep the comments coming.

@patrocinio
Copy link
Contributor Author

@jabbott7335 I'm also working with Luca Floris in fixing this solution.

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

No branches or pull requests

3 participants