Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Migrate Veeam Configuration Database to PostgreSQL Server

Posted on 29/01/202411/08/2026 Christian By Christian No Comments on Migrate Veeam Configuration Database to PostgreSQL Server
  1. Home
  2. Backup
  3. Migrate Veeam Configuration Database to PostgreSQL Server
Step-to-migrate-from-microsft-SQl-to-PostgreSQL

To migrate the Veeam Backup & Replication configuration database from Microsoft SQL Server to PostgreSQL, create a new configuration backup and restore it on the PostgreSQL instance. This process enables continued use of the same Veeam Backup & Replication server, now connected to a configuration database on PostgreSQL instead of Microsoft SQL Server. In this article, we will learn how to Migrate Veeam Configuration Database to PostgreSQL Server. Please see how to Migrate Veeam MSSQL Database to a new MSSQL Server, and how to uninstall Veeam Backup and Replication from your server.

Default installations of Veeam Backup & Replication 12 use PostgreSQL. However, for existing Veeam Backup & Replication deployments upgraded from version 11a or older. Manual migration to PostgreSQL is required, as they continue to utilize Microsoft SQL Server.

Please see the Complete Guide on TestRail as a Test Management Tool, how to Install PostgreSQL on Windows server as Veeam Database Engine, and how to SSH into a VM created using Azure CLI or GUI.

Why switch to PostgreSQL?

Migrating Veeam Backup and Replication from Microsoft SQL Server (MSSQL) to PostgreSQL is driven by various reasons. Below are some common reasons to consider such a migration

Cost saving: If you prioritize cost savings, choosing PostgreSQL for your database needs is an excellent option. It is an open-source database engine that is completely free to use, even for commercial purposes, under the PostgreSQL license.

Mitigate Vendor Lockin: Migrating to PostgreSQL reduces dependency on Microsoft technologies, This is one reason some firms are utilizing open-source technologies. "I love working with Microsoft Technologies". If this is not the case for you, migrating to PostgreSQL can be advantageous for vendor independence or vendor lock-in.

Scalability: This is also a compelling reason to migrate to PostgreSQL. This database is recognized for its scalability and ability to handle large volumes of data and transactions. If your organization is anticipating significant growth in data volume, migrating to PostgreSQL could provide better scalability and performance.

Note: In SQL Server Express 2022, critical limitations such as utilizing only one socket or four cores, a 1.4GB per instance constraint, and a 10GB database limit, necessitated migration to paid SQL Server versions for larger backup environments exceeding 500 machines. Please take a look at this article for more information.  Also, with PostgreSQL, you won’t have any restrictions on CPU and Memory use

Veeam, mindful of its customers, introduced the option to utilize PostgreSQL as a configuration database, enhancing flexibility in database choices.

Cross-Platform Compatibility: Lastly, PostgreSQL is a cross-platform database system that can run on various operating systems, including Windows and Linux. See how to install PostgreSQL on Ubuntu.

Create a Veeam Backup & Replication Configuration Backup

Note: Before performing this step, you are required to be on v12 before migrating to PostgreSQL. It is recommended that you use Veeam Backup & Replication tools to create configuration backups and migrate the configuration database.

Please learn how to upgrade Veeam Backup and Replication v11 to 12.1, how to upgrade Veeam ONE to v12.1, and Dockerizing a NodeJs Express Application.

1: Stop and disable backup jobs

Ensure that you do not initiate or activate any jobs until the migration of Veeam Backup & Replication is finalized. Starting a job before completing the migration process will cause Veeam Backup & Replication to generate a new restore point in the chain and update the chain metadata.

The configuration backup created will lack information about this new restore point. Subsequently, when migrating data from the configuration backup to the database and restarting the job. Veeam Backup & Replication will be unable to synchronise the metadata of the backup chain with the data in the database. Consequently, the job will fail.

2: Create a Configuration Backup

From the main menu, launch the Configuration Backup Settings as shown below

Launch-Configuration-ABckup-Settings

By default, the “Enable configuration backup to the following repository is selected” is selected. If this is not the case for you, please ensure it is selected.

Config-database-backup

Enable Backup file encryption by selecting the checkbox. Click “Backup Now” to create a new backup as shown below.

This is necessary so that user passwords for the Veeam infrastructure can be exported. Otherwise, you will need to enter all user passwords during the migration.

Configuration-DB-backup

Let’s check for the backup in the repository if it is truly available. Click Ok to close the wizard.

Backup-availaboe

According t the Veeam documentation, it is pretty safe to ignore the “Loss protection disabled” warning if you do not have Veeam Backup Enterprise Manager installed.

This is because, the backup server is not registered with Veeam Backup Enterprise Manager server. Or your system administrator chose not to enable loss protection functionality.

Migrate the Configuration Database to PostgreSQL

Also from the main menu of the Veeam Backup & Replication console, select Configuration Backup.

Launch-Configuration-ABckup-Settings

In the Restore section, click Restore.

Restore-Configuration-database

Note: If you encounter an error that the Veeam Data Mover, or Veeam Installer Services aren’t running, please got to services.msc and start them.

In the Restore Mode window of the Veeam Backup & Replication Configuration Restore wizard, select Migrate, and click on Next.

Restore-mode-migrate

Select the configuration backup file we created above.

Select-Configuration-abckup-file

Analyse the configuration file selected

Analyse-the-configuration-file-selected

Review the contents

Review-the-contents

On the Target backup page of the configuration restore wizard, select PostgreSQL as the database engine.

PoastgreSQL

PostgreSQL selected as VBR database.

Next, select SQL authentication using the credentials. Then click Connect as shown below. To Learn about this user account, please see how to Install PostgreSQL on Windows server as Veeam Database Engine.

connect

I am okay with the defaults as shown below

VBR-restore-options

The configuration restoration completed successfully. Click next to proceed

Configuration-Restore-Completed-Successfully

Verfify and update restore credentials

verfify-and-update-restore-credentials

Click Finish on the Summary page

Migration-to-postgresql-from-mssql-completed

Lastly, now that the restore process has completed. Ensure sure that PostgreSQL target instance is configured according to the recommended hardware resources values.

You can modify settings of PostgreSQL target instance using the following cmdlet below.

Set-VBRPSQLDatabaseServerLimits
Set-VBRPSQLDatabaseServerLimits
Note: If you set PostgreSQL database as a configuration database when you install Veeam Backup & Replication, the necessary resource capacity will be configured during Veeam Backup & Replication installation.
- If the CPU or RAM resources are changed after Veeam Backup & Replication or Veeam Backup Enterprise Manager installation, you must run this cmdlet again to adjust hardware resources of the PostgreSQL instance.

As recommended, restart the PostgreSQL service to take effect. Below are the various ways to restart a service.

restart-PostgreSQL

Launch the Veeam Console again

To do this, click on the VBR console on your desktop.

Open-VBR-console

You can now perform a backup of your new configuration database in the Configuration Backup Settings window.

New-Config-DB-backup

Note: To enable PostgreSQL to use encrypted passwords. You have to uncomment the password_encryption option in the configuration file as shown below.

uncomment-pssword-encryption

I hope you found this article useful on how to migrate Veeam Configuration Database to PostgreSQL Server. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Backup, Oracle/MSSQL/MySQL Tags:Microsoft Windows, VBR, Veeam, Veeam Backup and Replication, Windows Server 2016

Post navigation

Previous Post: Dockerizing a NodeJs Express Application
Next Post: Convert Windows Server Essentials or Evaluation to Retail Edition

Related Posts

  • mysqlhero
    How to reset MySQL Root password Oracle/MSSQL/MySQL
  • Install Veeam Backup and Replication with the default PostgreSQL
    Install Veeam Backup and Replication with the default PostgreSQL Backup
  • Oracle momory increase
    What to do after increasing the Memory of Oracle Database Oracle/MSSQL/MySQL
  • asfasf e1784558823939
    Veeam Agent for Windows deployment failing with Access Denied Backup
  • sql server
    Download and install MSSQL 2019 Express Edition and SSMS Oracle/MSSQL/MySQL
  • images
    Unable to connect to MSSQL Server after changing Server name Oracle/MSSQL/MySQL

More Related Articles

Unveiling OOTBI Mini Unveiling OOTBI Mini and New Features for v1.7 from Object First Backup
veeam backup for Proxmox VE Backup and Restore Proxmox VE virtual machines with Veeam Backup
SQL server authentication mode Change from SQL Server and Windows Authentication Mode to Windows authentication Mode Oracle/MSSQL/MySQL
Protect OOTBI Best Storage for Veeam: Comparing OOTBI by ObjectFirst to VHR Backup
Encryption How to encrypt Microsoft SQL Server Traffic Oracle/MSSQL/MySQL
Backup is an attacker real target Hacker Thinking in Ransomware Attacks: Backup Is the real Target Backup

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Featured Image new
    Add Registry Keys via DISM in Windows Windows
  • Microsoft LAPS
    Configure Windows LAPS Management with Microsoft Intune AWS/Azure/OpenShift
  • Remote Desktop Connection
    Connect to the Remote Desktop Console from Command Prompt Windows
  • powershell01
    How to create a KDS root key using PowerShell Scripts
  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • Opswork blog 1440x800 1
    Get Started with OpsWorks for Chef Automate AWS/Azure/OpenShift
  • Unattended Hardened Windows Server 2025
    Unattended Gold Image & Hardened MSCB & CIS – Windows Server 2025 Image for Veeam Infrastructure Network | Monitoring
  • microsoft edge
    How to configure static page in Microsoft Edge browser via Local Group Policy on Windows Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.