-
karsten123
- Service Provider
- Posts: 731
- Liked: 188 times
- Joined: Apr 03, 2019 6:53 am
- Full Name: Karsten Meja
- Contact:
postgresql 15 -> 17
hi,
is there a from Veeam supported and documented way for a upgrade for postgresql 15.x to 17.x?
is it worth the effort or is it just fine to stay on latest 15 version?
Veeam server is a Windows based v13.
Tia
Karsten
is there a from Veeam supported and documented way for a upgrade for postgresql 15.x to 17.x?
is it worth the effort or is it just fine to stay on latest 15 version?
Veeam server is a Windows based v13.
Tia
Karsten
-
david.domask
- Product Manager
- Posts: 3589
- Liked: 867 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: postgresql 15 -> 17
Hi Karsten,
I would advise schedule a maintenance window and then do a Configuration Migration using the native Configuration Restore utility.
Updating to more recent versions of PGSQL are generally recommended, at least for security fixes; staying on PGSQL 15.x latest security patches should be enough until you're prepared to migrate to PGSQL 17.
I would advise schedule a maintenance window and then do a Configuration Migration using the native Configuration Restore utility.
Updating to more recent versions of PGSQL are generally recommended, at least for security fixes; staying on PGSQL 15.x latest security patches should be enough until you're prepared to migrate to PGSQL 17.
David Domask | Product Management: Principal Analyst
-
chrislove
- Service Provider
- Posts: 17
- Liked: 6 times
- Joined: Dec 20, 2017 12:56 pm
- Full Name: Chris Love
- Contact:
Re: postgresql 15 -> 17
Yeah we had the same question and had to do this as well (config backup > restore). Does 15.x go EOL before VBR v13? so those we upgraded from v12 using postgresql may need the same doing.
-
karsten123
- Service Provider
- Posts: 731
- Liked: 188 times
- Joined: Apr 03, 2019 6:53 am
- Full Name: Karsten Meja
- Contact:
Re: postgresql 15 -> 17
ok. got it.
but is there a step by step how to for going from 15 to 17? i am not a postgresql guy and do not know how to do it. and maybe there are Veeam specific things to consider?
but is there a step by step how to for going from 15 to 17? i am not a postgresql guy and do not know how to do it. and maybe there are Veeam specific things to consider?
-
RandomTrooper
- Influencer
- Posts: 13
- Liked: 2 times
- Joined: Oct 25, 2022 5:39 pm
- Contact:
Re: postgresql 15 -> 17
I don't know if this will help you, but I upgraded another app using this:
Dump the database
Upgrade the PostgreSQL version, then:
Import the database
That was it. Be sure you have a backup before proceeding.
Reference: https://www.postgresql.org/docs/current/app-pgdump.html
Dump the database
Code: Select all
pg_dump -U <username> <database-name> > db_backup.sqlImport the database
Code: Select all
cat db_backup.sql | psql -U <username> <database-name>Reference: https://www.postgresql.org/docs/current/app-pgdump.html
-
david.domask
- Product Manager
- Posts: 3589
- Liked: 867 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: postgresql 15 -> 17
Thanks for sharing RandomTrooper; I would still advise to any readers looking to migrate to a newer postgres instance to use our Configuration Restore as noted before. Our KB here explains the potential pitfalls of trying to backup the configuration database using native SQL backup / restore and the User Guide outlines some of the challenges on migrating using native SQL tools; the pitfalls _can_ be avoided, but you can be assured they're avoided by using Configuration Backup / Restore.
Hint: After migrating, it is recommended to run Set-VBRPSQLDatabaseServerLimits for your PGSQL instance once more to ensure that the PGSQL optimizations are set correctly.
Hint: After migrating, it is recommended to run Set-VBRPSQLDatabaseServerLimits for your PGSQL instance once more to ensure that the PGSQL optimizations are set correctly.
David Domask | Product Management: Principal Analyst
-
david.domask
- Product Manager
- Posts: 3589
- Liked: 867 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: postgresql 15 -> 17
With Configuration Restore, nothing too special. Install Postgres, you may need to adjust some settings as per this KB to allow the backup server to properly access the postgres instance.karsten123 wrote: ↑Apr 10, 2026 6:50 pm ok. got it.
but is there a step by step how to for going from 15 to 17? i am not a postgresql guy and do not know how to do it. and maybe there are Veeam specific things to consider?
Outside of that, as noted in previous post, you will probably want to run Set-VBRPSQLDatabaseServerLimits to ensure that the postgres 17 instance is configured optimally.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: j.avila, Semrush [Bot] and 231 guests