Open patrocinio opened 6 years ago
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.
Thanks for the heads up. I will be working on this over the next couple weeks. Please keep the comments coming.
@jabbott7335 I'm also working with Luca Floris in fixing this solution.
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 becommand: ["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
andmongodb
. 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