public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Catherine Frock <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Help with restoring database from old version of PostgreSQL
Date: Thu, 14 Nov 2024 09:02:16 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAkgG6jLBV81cN7ogJF0bHj3ymFJ87ULmbnuX=De2rndoTGNXw@mail.gmail.com>
References: <CAAkgG6hSWMwUUivGzoi_ku6JNXmTVXC2mP7XY5Xs+QPnvKjAdQ@mail.gmail.com>
<[email protected]>
<CAAkgG6jLBV81cN7ogJF0bHj3ymFJ87ULmbnuX=De2rndoTGNXw@mail.gmail.com>
On 11/14/24 07:00, Catherine Frock wrote:
> Yes, I still have the backup file. I tried to open pgAdmin4 today to see
> what version I'm running, and now this happened (see attachments). My
> operating system is Windows 10 Home, version 10.0.19045 Build 19045. I
> installed Postgres using these instructions:
> https://basille.org/postgis2017/installation_instructions/install_postgresql.html <https://basille.org/postgis2017/installation_instructions/install_postgresql.html> I'm guessing at this point I probably need to start all over with the installation since pgAdmin4 is not working? But if 9.6 is no longer supported, can I still use it to access my database? I assumed I would need to migrate to the most recent version of PostgreSQL, but maybe that was a wrong assumption?
1) You can copy/paste the error message and provide as text.
2) Assuming you are installing Postgres 16 from the EDB package, the
from here:
https://www.postgresql.org/download/windows/
PostgreSQL Version 64 Bit Windows Platforms
16 2022, 2019
[...]
11 2019, 2016, 2012 R2
10 2016, 2012 R2 & R1, 7, 8, 10
3) From here:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
9.6 can still be downloaded.
It is not a supported version, but you can at least use it to access
your database.
4) You need to provide a more detailed explanation of what you are
trying to achieve.
5) 9.6 -> 16 is six major version jump. That means some research needs
to be done, starting with determining what version of PostGIS you need
to be using.
>
> Thank you for your help,
> --
> Arden
>
>
> On Wed, Nov 13, 2024 at 3:42 PM Adrian Klaver <[email protected]
> <mailto:[email protected]>> wrote:
>
> On 11/13/24 10:50, Catherine Frock wrote:
> > I'm seeking help in restoring a database that was created with
> > PostgreSQL 9.6. I backed it up successfully and have restored it
> before,
> > but that was when PostgreSQL 9.6 was still supported. After going
>
> Do you still have the Postgres 9.6 instance running?
>
> > through the installation of PostgreSQL 16.3, I opened up pgAdmin
> 4 to
>
> What version of pgAdmin4?
>
> > try to verify the PostgreSQL/PostGIS installation, but when I try to
> > connect to the PostgreSQL 16.3 server, I get an internal server
> error
> > message: 'ServerManager' object has no attribute 'user_info'.
> >
> > In pgAdmin4, I am able to connect to the PostgreSQL 9.6 server,
> but when
>
> So the 9.6 instance is running.
>
> > I try to verify the install by querying: CREATE EXTENSION postgis;
> > SELECT postgis_version();
> > I get the following error message: ERROR: could not open extension
> > control file "C:/Program
> > Files/PostgreSQL/9.6/share/extension/postgis.control": No such
> file or
> > directory SQL state: 58P01
>
> What OS and version are you running?
>
> How did you install Postgres?
>
>
> >
> > How can I restore my database to have access to it again?
> >
> > Thanks.
>
> --
> Adrian Klaver
> [email protected] <mailto:[email protected]>
>
--
Adrian Klaver
[email protected]
view thread (11+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Help with restoring database from old version of PostgreSQL
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox