Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

mongodb container mongodump openshift

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

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"
Comment

PREVIOUS NEXT
Code Example
Shell :: yum snap install --classic certbot 
Shell :: git exclude nested folder 
Shell :: use xargs multiple times 
Shell :: how to show problem il linux or ubuntu 
Shell :: check commmit version 
Shell :: how to use syslog logging driver in kubernetes 
Shell :: windows 7 build 7601 not genuine permanent fix 
Shell :: ansible use host file flag 
Shell :: install webex with wine 
Shell :: what does grep dash v do 
Shell :: how to search for a directory in github 
Shell :: docker add route to network 
Shell :: shell insert variable line to file after match 
Shell :: how to upgrade sharepointpnppowershellonline 
Shell :: autologin Ubuntu 20.04 LightDM 
Shell :: create a docker-compose symbolic link to /usr/bin 
Shell :: Powershell WebAdmin 
Shell :: Rclone initial commit to remote drive 
Shell :: ctags .virmc 
Shell :: fedora insall kdenlive 
Shell :: install flask apache on ec2 instance 
Shell :: yes/no 
Shell :: exit server freeze 
Shell :: change hostname rhel 6 
Shell :: how to install gatsby transformer plugin 
Shell :: ubuntu protetor de tela 
Shell :: check if global packages are up to date 
Shell :: scp: /home//pass.csv: Permission denied 
Shell :: Openstack on ubuntu 18.04 
Shell :: how to upload a file to sentry 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =