docker - update run parameters
@@ -37,7 +37,8 @@ The working directory must be owned by the user passed to ``docker`` via the
-e PBM_COORDINATOR_WORK_DIR=/data \
-p 10000-10001:10000-10001 \
-v /data/mongodb-backup-coordinator:/data \
- mongodb-backup-coordinator
+ perconalab/percona-backup-mongodb \
+ pbm-coordinator
Viewing |bc| logs
================================================================================
@@ -68,11 +69,15 @@ the agent.
--name=mongodb-backup-agent \
-e PBM_AGENT_SERVER_ADDRESS=172.16.0.2:10000 \
-e PBM_AGENT_BACKUP_DIR=/data \
+ -e PBM_AGENT_MONGODB_HOST=172.16.0.2 \
-e PBM_AGENT_MONGODB_PORT=27017 \
- -e PBM_AGENT_MONGODB_USER=pbmAgent \
- -e PBM_AGENT_MONGODB_PASSWORD=securePassw0rd \
- -v /data/mongodb-backup-agent:/data \
- mongodb-backup-agent
+ -e PBM_AGENT_MONGODB_USERNAME=backupUser \
+ -e PBM_AGENT_MONGODB_PASSWORD=$eQrP@sw8rD \
+ -e PBM_AGENT_STORAGE_CONFIG=/data/storage-config.yml \
+ -e PBM_AGENT_MONGODB_REPLICASET=rs1 \
+ -v /data/mongodb-backup-agent1:/data \
+ perconalab/percona-backup-mongodb \
+ pbm-agent
Viewing the Agent Logs
================================================================================
