Q:

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"
0
01) To view all MongoDB environment variables, from local computer run:
oc exec mongodb-XX-XXXXX env 
0

New to Communities?

Join the community