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

  • no pg hba
    Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL
  • OOTBI virtual appliance setup on Proxmox
    How to set up the OOTBI Virtual Appliance on Proxmox VE Backup
  • Word backup day Veeam Backup configuration File saved the backup sever
    [World Backup Day] V13 Upgrade Failure: Veeam Configuration Backup Saved the Day Backup
  • Veeam ONE Update e1780339954118
    How to Upgrade Veeam ONE to 13.0.2.6723 to Address Security Fixes Backup
  • Veeam Data cloud VDC Enrollment
    A-Z on Veeam Data Cloud: Workload Enrollment and Onboarding Backup
  • azure app service with office 365 and yammer sharepoint saturday florence 2015 session 8 638
    WordPress site on Azure: How to create a website hosted in Azure Oracle/MSSQL/MySQL

More Related Articles

no pg hba Resolve “no pg_hba.conf entry for host on PostgreSQL Oracle/MSSQL/MySQL
OOTBI virtual appliance setup on Proxmox How to set up the OOTBI Virtual Appliance on Proxmox VE Backup
Word backup day Veeam Backup configuration File saved the backup sever [World Backup Day] V13 Upgrade Failure: Veeam Configuration Backup Saved the Day Backup
Veeam ONE Update e1780339954118 How to Upgrade Veeam ONE to 13.0.2.6723 to Address Security Fixes Backup
Veeam Data cloud VDC Enrollment A-Z on Veeam Data Cloud: Workload Enrollment and Onboarding Backup
azure app service with office 365 and yammer sharepoint saturday florence 2015 session 8 638 WordPress site on Azure: How to create a website hosted in Azure Oracle/MSSQL/MySQL

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • xcdbfg
    Folder Access Denied – you require permission from SYSTEM: Unable to delete old Windows folder Windows
  • powerpoint 1280x720 1
    How to change the speller and proofing language in PowerPoint Microsoft Exchange/Office/365
  • Veeam
    Install and configure Veeam Backup and Replication Community Edition Backup
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • control panel
    Enable or Disable Control Panel and Windows Settings App Windows
  • RDP
    Fix Windows 11 Remote Desktop Connectivity Error code 0x204 Windows
  • A connection to the deployment share could not be made Errors in MDT e1781960443644
    PCI Driver Error: Connection to Deployment Share could not be made 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,752 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.