Re: Pgadmin 4 migrate user data to new Server - Mailing list pgadmin-support

From Dave Page
Subject Re: Pgadmin 4 migrate user data to new Server
Date
Msg-id CA+OCxowPdqGKR=5=DKdqq_WCfK=z_z3dkWDWNBqO1hfvw=dkrA@mail.gmail.com
Whole thread Raw
In response to Pgadmin 4 migrate user data to new Server  (Artner Michael <michael.artner.ma1@wien.gv.at>)
List pgadmin-support
(please keep the list CC'd)

On Tue, 18 Oct 2022 at 11:23, Artner Michael <michael.artner.ma1@wien.gv.at> wrote:

No i need a new one ! but with the user data from the old one  !!


A new config database? You can export the connection info from the old instance (see https://github.com/pgadmin-org/pgadmin4/blob/REL-4_15/docs/en_US/import_export_servers.rst), and then import to the new instance of pgAdmin (which is much easier in the later version as there's a UI for it now): https://www.pgadmin.org/docs/pgadmin4/6.14/import_export_servers.html.

If you're installing onto a completely new machine, you can also just copy the pgadmin4.db file from the old machine onto the new one (you'd have to figure out the locations, as you haven't said what platform you're running on etc). On the new machine, the easiest way to figure that out is probably to run pgAdmin once, and then replace the pgadmin4.db file it creates (having exited pgAdmin first of course).
 

 

Regards

 

 

Von: *EXTERN* Dave Page <dpage@pgadmin.org>
Gesendet: Dienstag, 18. Oktober 2022 12:19
An: Artner Michael <michael.artner.ma1@wien.gv.at>
Cc: pgadmin-support@lists.postgresql.org
Betreff: Re: Pgadmin 4 migrate user data to new Server

 

Hi

 

On Tue, 18 Oct 2022 at 10:27, Artner Michael <michael.artner.ma1@wien.gv.at> wrote:

Hello

 

Can migrate the user data (database with connectionconfig from pgadminuser) (pgadminversion 4.15)  to the new Pgadmin4 Server (6.14)?

Andi f yes how ?

 

Just install the new version and run it. It will automatically update the config database. 

 

--

Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com



--

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Pgadmin 4 migrate user data to new Server
Next
From: Calle Hedberg
Date:
Subject: Browser pane blanks out