Skip to content
Studio 3T - The professional GUI, IDE and client for MongoDB
  • Tools
    • Aggregation Editor
    • IntelliShell
    • Visual Query Builder
    • Export Wizard
    • Import Wizard
    • Query Code
    • SQL Query
    • Connect
    • Schema Explorer
    • Compare
    • SQL ⇔ MongoDB Migration
    • Data Masking
    • Task Scheduler
    • Reschema
    • More Tools and Features
  • Solutions
  • Resources
    • Knowledge Base
    • MongoDB Tutorials & Courses
    • Tool/Feature Documentation
    • Reports
    • Case Studies
    • Whitepapers
    • Blog
    • Testimonials
    • Community
  • Contact us
    • Contact
    • Sales Support
    • Feedback and Support
    • Career
    • About Us
  • Store
    • Buy Now
    • Preferred Resellers
    • Team Pricing
  • My License
  • Download
search

Studio 3T Knowledge Base

  • Documentation
  • Tutorials
  • Workshops
Take the fastest route to learning MongoDB. Cover the basics in two hours with MongoDB 101, no registration required.
Start the free course

Configure mongodump, mongorestore & mongo shell Executable Files

Posted on: 14/09/2020 (last updated: 04/08/2021) by Kathryn Vargas

Studio 3T bundles mongo tools by default, but we’ve made it possible to point IntelliShell, mongodump, and mongorestore to use the executable (.exe) files that suits your version.

You can pick up these executable files through the PATH environment variable, or by pointing point to the files directly under Studio 3T preferences.

Prerequisites

1. Download Studio 3T.

2. Download the relevant executable files for your MongoDB version. You can find the archived downloads of MongoDB Community Server here, and MongoDB Enterprise Server here.

Option 1: Use the executable (.exe) file from the PATH environment variable

1. Open the command prompt or terminal.

2. Add the executable file paths to the $PATH variable. These files are usually in the bin directory where the distribution was unpacked.

  • bin/mongo for mongo shell/IntelliShell
  • bin/mongorestore for mongorestore
  • bin/mongodump for mongodump

Here are helpful links on how to do so, depending on your OS:

  • Windows – Add to the PATH on Windows 10
  • macOS – Add to the PATH on Mac OS X 10.8 Mountain Lion and up
  • Linux – How to set your $PATH variable in Linux

3. Open Studio 3T and go to Studio 3T > Preferences.

4. Click on the MongoDB Tools tab.

5. Click on the IntelliShell, mongorestore, or mongodump tab and choose Use the ‘…’ executable found on the ‘PATH’ environment variable.

Use the MongoDB executable file found on the Path environment variable

If correctly configured in the PATH variable, Studio 3T should pick up and use the relevant executable file.

Option 2: Point to the .exe file under Preferences

1. Open Studio 3T and go to Studio 3T > Preferences.

2. Click on the MongoDB Tools tab.

3. Click on the IntelliShell, mongorestore, or mongodump tab and choose Use the following ‘…’ executable. These files are usually found in the bin directory where the distribution was unpacked.

  • mongo shell/IntelliShell uses mongo.exe
  • mongorestore uses mongorestore.exe
  • mongodump uses mongodump.exe
Use a different mongo.exe file

4. Click OK.

Applying changes on a MongoDB connection level

Settings configured in the Connection Manager will be applied to all databases in the MongoDB connection and will override the global settings configured in Studio 3T > Preferences.

1. Open the Connection Manager by clicking on the Connect button from the global toolbar, or Open Connection Manager on the Quickstart tab.

Open the Connection Manager in Studio 3T

2. Choose a connection, then click on Edit in the toolbar.

3. Click on the MongoDB Tools tab.

4. Uncheck the Use global settings box.

Apply MongoDB tools setting on the entire MongoDB connection

5. Under the IntelliShell, mongorestore, and mongodump tabs, choose your preferred configuration.

6. Click Save.

Check your IntelliShell implementation

1. Connect to a database and open IntelliShell.

  • Button – Click on the IntelliShell button in the global toolbar
  • Right-click – Right-click on a target collection and choose Open IntelliShell
  • Shortcut – Press Ctrl + L (⌘+ L)

2. You should see an older MongoDB shell version number in the Shell Output tab.

Older mongo shell version in Shell Output tab

Other IntelliShell and importing/exporting hacks you might find helpful:

  • Preview documents, configure settings, and save imports and exports as tasks with the Import and Export Wizards
  • Use the Visual Query Builder and the mongo shell side by side
  • Open any mongo shell query generated in Query Code directly in IntelliShell

How helpful was this article?
This article was hideous
This article was bad
This article was ok
This article was good
This article was great
Thank you for your feedback!

About The Author

Kathryn Vargas

When she's not writing about working with MongoDB, Kathryn spends her free time exploring Berlin's food scene, playing the drums, learning languages (current mission: German), and hiking.

Article navigation

Related articles

  • How to Query MongoDB Arrays Without Using the mongo Shell
  • Test your skills: Running MongoDB Queries on the mongo Shell
  • Running MongoDB Queries on the mongo Shell
  • Using Hackolade to configure Studio 3T SQL Migrations
  • How do you make Studio 3T export MongoDB collections to unique files? #Studio3T_AMA

Studio 3T

MongoDB Enterprise Certified Technology PartnerSince 2014, 3T has been helping thousands of MongoDB developers and administrators with their everyday jobs by providing the finest MongoDB tools on the market. We guarantee the best compatibility with current and legacy releases of MongoDB, continue to deliver new features with every new software release, and provide high quality support.

Find us on FacebookFind us on TwitterFind us on YouTubeFind us on LinkedIn

Education

  • Free MongoDB Tutorials
  • Connect to MongoDB
  • Connect to MongoDB Atlas
  • Import Data to MongoDB
  • Export MongoDB Data
  • Build Aggregation Queries
  • Query MongoDB with SQL
  • Migrate from SQL to MongoDB

Resources

  • Feedback and Support
  • Sales Support
  • Knowledge Base
  • FAQ
  • Reports
  • Case Studies
  • White Papers
  • Testimonials
  • Discounts

Company

  • About Us
  • Blog
  • Careers
  • Legal
  • Press
  • Privacy Policy
  • EULA

© 2022 3T Software Labs GmbH. All rights reserved.

  • Privacy Policy
  • Cookie settings
  • Impressum
When you click "Accept", you are agreeing to cookies being on your device. They may improve site navigation, site usage analysis, or the relevance of messages. It is up to you which cookies are enabled. Read our Privacy Policy.
Manage cookies
Accept
✕

Privacy Preference Center

A cookie is a small file of letters and numbers that is downloaded on to your computer when you visit a website. Cookies are used by many websites and can do a number of things, eg remembering your preferences, recording what you have put in your shopping basket, and counting the number of people looking at a website. In the form below you can choose which cookies, except for essential cookies, to allow or disable.

Accept all cookies

Manage consent preferences

Essential cookies are strictly necessary to provide an online service such as our website or a service on our website which you have requested. The website or service will not work without them.

Performance cookies allow us to collect information such as number of visits and sources of traffic. This information is used in aggregate form to help us understand how our websites are being used, allowing us to improve both our website’s performance and your experience.

Functional cookies collect information about your preferences and choices and make using the website a lot easier and more relevant. Without these cookies, some of the site functionality may not work as intended.

Social media cookies are cookies used to share user behaviour information with a third-party social media platform. They may consequently effect how social media sites present you with information in the future.

Accept selected