Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #container #mongodump #openshift
ADD COMMENT
Topic
Name
2+6 =