Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export connections in Robo 3T (Robomongo)

Tags:

mongodb

robo3t

Is the any better way to share connection settings from Robo 3T by avoiding just copy-pasting of each connection details?

I didn't find anything in menu of Robo 3T.

like image 216
Alex.K. Avatar asked Apr 09 '20 16:04

Alex.K.


1 Answers

I didn't find the way to do it from Robo 3T. Maybe one day we will get this feature.

But you can copy the entire robo3t.json configuration file, that contains all details.

It is not the best solution, because you will need to update connection settings with passwords(they are empty) and path to Private key (if path is different from machine where you copied your setting file), but it will make this process easier.

One more detail, I use Linux and installed Robo 3T via snap, so here the list of possible places of robo3t.json configuration file (more details):

enter image description here

Please pay attention, that '.3T' folder is a hidden folder.

Linux

1.3 
/home/snap/robo3t-snap/4/.3T/robo-3t/1.3.1

1.1
/home/<user>/.3T/robo-3t/1.1.1/robo3t.json

1.0
/home/<user>/.3T/robomongo/1.0.0/robomongo.json

1.0-RC1
/home/<user>/.config/robomongo/1.0/robomongo.json

0.9.x
/home/<user>/.config/robomongo/0.9/robomongo.json

0.8.x
/home/<user>/.config/robomongo/robomongo.json

Windows

1.1
C:\Users\<user>\.3T\robo-3t\1.1.1\robo3t.json

1.0
C:\Users\<user>\.3T\robomongo\1.0.0\robomongo.json

1.0-RC1
C:\Users\<user>\.config\robomongo\1.0\robomongo.json

0.9.x
C:\Users\<user>\.config\robomongo\0.9\robomongo.json

0.8.x
C:\Users\<user>\.config\robomongo\robomongo.json   

MAC

1.1
/Users/<user>/.3T/robo-3t/1.1.1/robo3t.json

1.0
/Users/<user>/.3T/robomongo/1.0.0/robomongo.json

1.0-RC1
/Users/<user>/.config/robomongo/1.0/robomongo.json

0.9.x
/Users/<user>/.config/robomongo/0.9/robomongo.json

0.8.x
/Users/<user>/.config/robomongo/robomongo.json     
like image 99
Alex.K. Avatar answered Sep 18 '22 18:09

Alex.K.