File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- # DO NOT CHANGE 'log_dir' or 'backup.location' flags
2- # when using with scripts/docker-persistent.sh!!!
1+ # 'log_dir' or 'backup.location' flags are auto-overriden
2+ # when using with scripts/docker-persistent.sh. Changes to
3+ # these flags will be ignored!
34production:
45 host: mongodb.example.com
56 port: 27017
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ BACKUP_DIR=/mongodb_consistent_backup
1515BACKUP_CNF=$BACKUP_DIR /mongodb-consistent-backup.conf
1616BACKUP_IMAGE=mongodb_consistent_backup
1717BACKUP_DATA_IMAGE=mongodb_consistent_backup-data
18- MCB_FLAGS=" --config $BACKUP_CNF "
18+ MCB_FLAGS=" -c $BACKUP_CNF -L $BACKUP_DIR /logs -l $BACKUP_DIR /data "
1919DOCKER_IMAGE=timvaillancourt/mongodb_consistent_backup:latest
2020
2121if [ " $ACTION " = " backup" ]; then
You can’t perform that action at this time.
0 commit comments