“MongoDB Container MongoDump OpenShift” Respostas de código

MongoDB Container MongoDump OpenShift

01) To view all MongoDB environment variables, from local computer run:
oc exec mongodb-XX-XXXXX env 
Puzzled Polecat

MongoDB Container MongoDump OpenShift

02) To perform the dump, go to pod terminal in openshift console and enter this:
mongodump --host MONGODB_SERVICE_HOST:MONGODB_SERVICE_PORT --username admin --password "MONGODB_ADMIN_PASSWORD"
Puzzled Polecat

Respostas semelhantes a “MongoDB Container MongoDump OpenShift”

Perguntas semelhantes a “MongoDB Container MongoDump OpenShift”

Mais respostas relacionadas para “MongoDB Container MongoDump OpenShift” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código