This article provides the necessary steps to back up an existing Qlik Enterprise Manager PostgreSQL database before restoring it to a new major version of PostgreSQL. We will use pgAdmin for the process.
If you are upgrading within a major PostgreSQL release (example: 14.5 to 14.8), no manual backup and restore is necessary. Simply download the PostgreSQL installer and upgrade your current instance.
If you are upgrading to a new major PostgreSQL release (example: 12.x to 14.x):
Backup the existing PostgreSQL database of your Qlk Enterprise Manager instance using pgAdmin:
Right-click on the existing PostgreSQL database (in our example: postgres)
Select Backup
Fill in the required information:
File Name: Your backup file name Format: TAR Role: Current role name
Click Backup
Download the new major version of PostgreSQL you want to upgrade to. For example, you may be moving from 12.x to 14.x.
Install the new PostgreSQL instance on the Qlik Enterprise Manager host
for PostgreSQL-specific installation instructions, see PostgreSQL's manuals.
In the new PostgreSQL instance, create a New User identical to the one used in the previously backed-up database
In the new PostgreSQL instance, create a New Database with an identical name to the previously backed-up database
Restore your backup to the new database using pgAdmin:
Right-click on the newly created database (in our example: postgres)
Select Restore
Fill in the required information:
Format: Custom or Tar File Name: Your backup file name Role: Previous role name