# Clear out v4.4.0 version, but keep brew-installed DB Tools (since at 100.1.1 already) ~ $ brew services stop mongodb-community@4.4 Stopping `mongodb-community`... (might take a while) ==> Successfully stopped `mongodb-community` (label: homebrew.mxcl.mongodb-community) ~ $ brew remove mongodb-community@4.4 Uninstalling /usr/local/Cellar/mongodb-community/4.4.0... (11 files, 136.7MB) ~ $ brew untap mongodb/brew Untapping mongodb/brew... Untapped 10 formulae (38 files, 147.3KB). ~ $ rm -rf /usr/local/etc/mongod.conf ~ $ rm -rf /usr/local/var/mongodb/* ~ $ rm -rf /usr/local/var/log/mongodb/* ~ $ cd ~/Downloads/mongodb-macos-x86_64-4.4.1/bin ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ cp /usr/local/etc/mongod.conf.bak /usr/local/etc/mongod.conf ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ cat /usr/local/etc/mongod.conf systemLog: destination: file path: /usr/local/var/log/mongodb/mongo.log logAppend: true storage: dbPath: /usr/local/var/mongodb net: bindIp: 127.0.0.1 ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ nano /usr/local/etc/mongod.conf ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ cat /usr/local/etc/mongod.conf systemLog: destination: file path: /usr/local/var/log/mongodb/mongo.log logAppend: true storage: dbPath: /usr/local/var/mongodb processManagement: fork: true net: bindIp: 127.0.0.1 ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ touch /usr/local/var/log/mongodb/mongo.log ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ mongodump --version mongodump version: 100.1.1 git version: 8bca136c2a0e0daa3947df31c0624c5615f9aa02 Go version: go1.12.17 os: darwin arch: amd64 compiler: gc ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ls -l `which mongodump` lrwxr-xr-x 1 andrew.feierabend admin 54 Sep 22 10:42 /usr/local/bin/mongodump -> ../Cellar/mongodb-database-tools/100.1.1/bin/mongodump ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ls -l mongod -rwxr-xr-x@ 1 andrew.feierabend staff 58985448 Sep 8 10:09 mongod ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ./mongod --version db version v4.4.1 Build Info: { "version": "4.4.1", "gitVersion": "ad91a93a5a31e175f5cbf8c69561e788bbc55ce1", "modules": [], "allocator": "system", "environment": { "distarch": "x86_64", "target_arch": "x86_64" } } ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ./mongod -f /usr/local/etc/mongod.conf about to fork child process, waiting until server is ready for connections. forked process: 98074 child process started successfully, parent exiting ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ps aux | grep -v grep | grep mongod andrew.feierabend 98074 0.2 0.2 5548748 27236 ?? S 10:55AM 0:00.79 ./mongod -f /usr/local/etc/mongod.conf ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ ./mongo MongoDB shell version v4.4.1 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("4272d3d7-120c-40a4-8bd0-dfda436ba779") } MongoDB server version: 4.4.1 --- The server generated these startup warnings when booting: 2020-09-22T10:55:14.642-04:00: ***** SERVER RESTARTED ***** 2020-09-22T10:55:15.452-04:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted --- --- Enable MongoDB's free cloud-based monitoring service, which will then receive and display metrics about your deployment (disk utilization, CPU, operation statistics, etc). The monitoring data will be available on a MongoDB website with a unique URL accessible to you and anyone you share the URL with. MongoDB may use this information to make product improvements and to suggest MongoDB products and deployment options to you. To enable free monitoring, run the following command: db.enableFreeMonitoring() To permanently disable this reminder, run the following command: db.disableFreeMonitoring() --- > exit bye ~/Downloads/mongodb-macos-x86_64-4.4.1/bin $ mongodump 2020-09-22T10:55:41.581-0400 writing admin.system.version to dump/admin/system.version.bson 2020-09-22T10:55:41.582-0400 done dumping admin.system.version (1 document)