On every upgrade of PgAdmin 4 (currently at version 1.5), we lost all our server definitions as well as other config details. Quite annoying when one has to deal with a dozen servers :)
I have not been able to find where the server definitions are stored so to try making a copy before installing the new version.
Any idea?