mongodump —db somedb —gzip —archive > dump_’date "+%Y-%m-%d"'.gz
docker exec
exec mongodump -u root -p password —authenticationDatabase admin
exec mongorestore -u root -p password —authenticationDatabase admin dump/
mongodump —db somedb —gzip —archive > dump_’date "+%Y-%m-%d"'.gz
docker exec
exec mongodump -u root -p password —authenticationDatabase admin
exec mongorestore -u root -p password —authenticationDatabase admin dump/