First, you’ll need to use mongodump
on your local database. Then, you’ll use af tunnel SERVICE_NAME
from the directory the dump file is in and choose option 4 to connect to your database locally.
Just provide it the name of your dump file, and it should be successfully imported.
If you’re having time-out issues, I recommend choosing option 1 when tunneling into your database. Provide the service connection info to a GUI application that is good at handling time-outs and reestablishing the connection. Below are some articles for assistance.