pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedMinor Upgrade Question
3+ messages / 2 participants
[nested] [flat]
* Minor Upgrade Question
@ 2020-06-16 14:12 Susan Joseph <sandajoseph@verizon.net>
0 siblings, 1 reply; 3+ messages in thread
From: Susan Joseph @ 2020-06-16 14:12 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
So when I first started working with PostgreSQL I was using the latest version (11.2). I don't want to move to 12 yet but I would like to get my 11.2 up to 11.8. Due to my servers not being connected to the Internet I ended up downloading the libraries and building the files locally. My question is how do I upgrade to 11.8? I know how to go and get the rpms now and download those to a disconnected server and then install PostgreSQL that way. I was able to install 11.8 on another server using the rpms. But my directories are different. The rpm install placed the files into the directory /data/pgsql-11. My 11.2 database is in /data/pgsql. I checked the rpm file and it says that the files are not relocatable. So I can do a new install of 11.8 via the rpms and it will place the files into /data/pgsql-11, can just need to copy the executable files in the /data/pgsql-11/bin directory into my /data/pgsql/bin or are there other files that need to be copied over? Is there a better way to do this rather than reinstalling postgreSQL again on a server that already has it?
Thanks, Susan
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Minor Upgrade Question
@ 2020-06-17 15:19 Joshua Drake <jd@commandprompt.com>
parent: Susan Joseph <sandajoseph@verizon.net>
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Drake @ 2020-06-17 15:19 UTC (permalink / raw)
To: Susan Joseph <sandajoseph@verizon.net>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Susan
You can use -Uvh to upgrade the rpms on the existing machine. You can then
use symlinks to link the expected pgsql data directories. Make sure you
take a backup, and stop the service before you proceed.
JD
On Tue, Jun 16, 2020 at 7:12 AM Susan Joseph <sandajoseph@verizon.net>
wrote:
> So when I first started working with PostgreSQL I was using the latest
> version (11.2). I don't want to move to 12 yet but I would like to get my
> 11.2 up to 11.8. Due to my servers not being connected to the Internet I
> ended up downloading the libraries and building the files locally. My
> question is how do I upgrade to 11.8? I know how to go and get the rpms
> now and download those to a disconnected server and then install PostgreSQL
> that way. I was able to install 11.8 on another server using the rpms.
> But my directories are different. The rpm install placed the files into
> the directory /data/pgsql-11. My 11.2 database is in /data/pgsql. I
> checked the rpm file and it says that the files are not relocatable. So I
> can do a new install of 11.8 via the rpms and it will place the files into
> /data/pgsql-11, can just need to copy the executable files in the
> /data/pgsql-11/bin directory into my /data/pgsql/bin or are there other
> files that need to be copied over? Is there a better way to do this rather
> than reinstalling postgreSQL again on a server that already has it?
>
> Thanks,
> Susan
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Minor Upgrade Question
@ 2020-06-19 19:39 Susan Joseph <sandajoseph@verizon.net>
parent: Joshua Drake <jd@commandprompt.com>
0 siblings, 0 replies; 3+ messages in thread
From: Susan Joseph @ 2020-06-19 19:39 UTC (permalink / raw)
To: Joshua Drake <jd@commandprompt.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
OK I will try that, thanks
On 6/17/2020 11:19 AM, Joshua Drake wrote:
> Susan
>
> You can use -Uvh to upgrade the rpms on the existing machine. You can
> then use symlinks to link the expected pgsql data directories. Make
> sure you take a backup, and stop the service before you proceed.
>
> JD
>
>
> On Tue, Jun 16, 2020 at 7:12 AM Susan Joseph <sandajoseph@verizon.net
> <mailto:sandajoseph@verizon.net>> wrote:
>
> So when I first started working with PostgreSQL I was using the
> latest version (11.2). I don't want to move to 12 yet but I
> would like to get my 11.2 up to 11.8. Due to my servers not being
> connected to the Internet I ended up downloading the libraries and
> building the files locally. My question is how do I upgrade to
> 11.8? I know how to go and get the rpms now and download those to
> a disconnected server and then install PostgreSQL that way. I was
> able to install 11.8 on another server using the rpms. But my
> directories are different. The rpm install placed the files into
> the directory /data/pgsql-11. My 11.2 database is in
> /data/pgsql. I checked the rpm file and it says that the files
> are not relocatable. So I can do a new install of 11.8 via the
> rpms and it will place the files into /data/pgsql-11, can just
> need to copy the executable files in the /data/pgsql-11/bin
> directory into my /data/pgsql/bin or are there other files that
> need to be copied over? Is there a better way to do this rather
> than reinstalling postgreSQL again on a server that already has it?
>
> Thanks,
> Susan
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-06-19 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 14:12 Minor Upgrade Question Susan Joseph <sandajoseph@verizon.net>
2020-06-17 15:19 ` Joshua Drake <jd@commandprompt.com>
2020-06-19 19:39 ` Susan Joseph <sandajoseph@verizon.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox