Search Documentation
Upgrade PostgreSQL from Version 13 to Version 17
This procedure upgrades the PostgreSQL database used by NirvaShare from version 13 to version 17.
Follow the steps below to perform the upgrade. Your existing database and data are preserved during the upgrade process.
Important: Before starting the upgrade, we recommend taking a full backup or snapshot of your virtual machine (VM). This provides an additional recovery option in case any unexpected issues occur during the upgrade.
Procedure
- Log in to the Linux server where NirvaShare is installed.
- Execute the commands provided below. Root privileges are required.
-
The utility provides an interactive menu that allows you to choose whether to upgrade PostgreSQL from version 13 to 17 or roll back to PostgreSQL 13.
sudo su root
curl -s https://raw.githubusercontent.com/nirvashare/nirvashare/main/linux/upgrade_pg.sh -o ns_upgradepg.sh && bash ns_upgradepg.sh && rm -f ns_upgradepg.sh Table of Contents
