I was hoping there is a way to export DBeaver connection configurations/properties from my old machine rather than having to go through the process of recreating each one. Does anyone know how to do this?
The DBeaver version on my old machine is 6.0.3, and the version on my new machine is 6.1.x.
DBeaver keeps connections information in the project folder. By default, all projects reside in the workspace. The default project folder is workspace\workspace6\General.
Select Window / Preferences / DBeaver / Editors / Data Editor / Lob Editors binary data formatter and select “Hex”. Right click on all of the results of the query. Note: For some tables where comma delimited is not useful (example inventory tables) just copy the results and paste into Excel. Select Export Data…
I just migrated some projects from DBeaver 6.1.4 to 7.2.3 and the File > Export/Import options worked flawlessly.
The full workflow is:
IMHO, very complete, easy and straightforward.
Update: after a few days of working, I realized some of the connections were not imported. I still don't know why, but it seems to be a bug. Just double check your connections after exporting and importing.
My experience on Windows 10 x64 for migrate connections from DBeaver 5.1.2 to DBeaver 6.1.5:
File | Export
and File | Import
functionality is (at least) not easy/clear.
(Where are the "connection strings"? What should I export?)
So, I found these files:
DBeaver 5:
C:\Users\user-123\.dbeaver4\General\.dbeaver-data-sources.xml
(it was clearly updated from version 4)
DBeaver 6:
C:\Users\user-456\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver\data-sources.json
So, I have to manually extract the data from XML and put in the JSON.
I hope you have the JSON configuration file for both 6.3 and 6.1.x.
Hope it helps.
On OSX (Mac) here:
/Users/${USER}/Library/DBeaverData/workspace6/General/.dbeaver/
On Ubunutu, For Dbeaver 6, it is found in
$HOME/.local/share/DBeaverData/workspace6/General/.dbeaver
For Microsoft Windows users the files can be found under:
C:\Users\your_user_name\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver
DBeaver connections are stored in file .dbeaver-data-sources.xml
, in DBeaver workspace, which is in %{HOME/.dbeaver4/General/
by default.
In my case the path is:
C:\Users\user\AppData\Roaming\DBeaverData\workspace6\General\.dbeaver
If the folder .dbeaver does not exist in a fresh installation you will need to create.
The beaver version: 7.3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With