Export/Dump Docker MongoDB database
There are tons of articles explaining how to export/dump a Mongo database from Docker, all of which we seemed to struggle with. The following script allows you to dump your Mongo database to a zip file: backup.sh # Usage: ./mongo-backup.sh [$1 database_