Database Key Mismatch When Connecting to PostgreSQL

Product version: 10.6

Last modified: 17 February 2022

Problem

When trying to migrate to PostgreSQL database, the following error appears:

Database key does not match

Background

This error means that the passwords in the target PostgreSQL database are encrypted with the key which was available in the different instance of NAKIVO Backup & Replication, but is not available in the current one.

Solution

To solve the issue, do the following:

  1. Export system configuration from the instance of NAKIVO Backup & Replication which previously used the PostgreSQL database in question.

  2. Import the system configuration to your current instance of NAKIVO Backup & Replication.

  3. Try migrating to the PostgreSQL database again.