Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 81 forks source link

Use Docker volume maps for persistent data, logs and config #214

Closed timvaillancourt closed 6 years ago

timvaillancourt commented 7 years ago

I made a set of bash scripts and README notes when I had no clue how Docker worked on how to run MCB in Docker with persistent data/logs/config. I made scripts to 'cp' files in/out of a container, which was silly.

This PR removes those bash scripts and adds README notes on using Docker volumes (--volume/-v flags) for persisting the backup, config and logs.