You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a bastion host Windows EC2 instance in our AWS environment that we rebuild monthly. We grab the latest AWS Windows AMI and then install our stuff on it (including DBeaver) so we can RDP into it and use it to connect to our databases in AWS.
The first time we RDP into the host and use DBeaver, it has all the first-time install pop-ups (tips, "do you want to upgrade?", "Send usage data", etc) and we also have to go in disable the Windows Trust Store (because we can't ever seem to get that to not throw an error) and set up all our database connections for our databases as well as downloading all the JDBC drivers.
I'd like to, as part of our monthly AMI rotations, not just install DBeaver but also set up all the preferences, properties, DB Connections, and drivers so that the first time we log in each month, DBeaver is ready to go.
I see that there is a dbeaver-cli.exe in the install dir, but I'm not sure how to use that to set all the properties.
And/Or should I just write out the appropriate .properties files and place them in specific locations?
EDIT 2: It looks like the easiest way to do this is to set up DBeaver the way you want it set up and then use Export to export your workspace preferences and then save that zip and the next time you spin up a new box, unzip those files into the %APPDATA%\DBeaverData\workspace6\.metadata\.plugins\org.eclipse.core.runtime\.settings\ folder on Windows
EDIT 3: You can export your connections and drivers using the Export menu also and then import them.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a bastion host Windows EC2 instance in our AWS environment that we rebuild monthly. We grab the latest AWS Windows AMI and then install our stuff on it (including DBeaver) so we can RDP into it and use it to connect to our databases in AWS.
The first time we RDP into the host and use DBeaver, it has all the first-time install pop-ups (tips, "do you want to upgrade?", "Send usage data", etc) and we also have to go in disable the Windows Trust Store (because we can't ever seem to get that to not throw an error) and set up all our database connections for our databases as well as downloading all the JDBC drivers.
I'd like to, as part of our monthly AMI rotations, not just install DBeaver but also set up all the preferences, properties, DB Connections, and drivers so that the first time we log in each month, DBeaver is ready to go.
I see that there is a
dbeaver-cli.exe
in the install dir, but I'm not sure how to use that to set all the properties.And/Or should I just write out the appropriate
.properties
files and place them in specific locations?Thanks for any advice and guidance!
EDIT: I swear I looked for it, but couldn't find it, but as soon as I posted this, I found where the preferences are located: https://dbeaver.com/docs/dbeaver/Admin-Manage-Preferences/
EDIT 2: It looks like the easiest way to do this is to set up DBeaver the way you want it set up and then use Export to export your workspace preferences and then save that zip and the next time you spin up a new box, unzip those files into the
%APPDATA%\DBeaverData\workspace6\.metadata\.plugins\org.eclipse.core.runtime\.settings\
folder on WindowsEDIT 3: You can export your connections and drivers using the Export menu also and then import them.
Beta Was this translation helpful? Give feedback.
All reactions