HomeBlogExplainer

Veeam PostgreSQL vs MSSQL: Which Database Should Hold the Backup Server's Configuration?

A white robot files a glowing configuration cube into a database drawer beside the backup vault before any restore

For a new Veeam Backup & Replication 13 server, use the PostgreSQL 17 instance that setup installs by default: it is included, has no Express-style size cap, and is the only engine Veeam lists for its Linux-based Software Appliance. Keep or choose Microsoft SQL Server only if you already run SQL Server Always On availability groups and want the Veeam database inside one, or if your Veeam Backup Enterprise Manager uses SQL Server and you are not ready to move both. Either engine works; the database holds the backup server's configuration, not your backup data.

Facts below come from the Veeam Backup & Replication 13 User Guide and Veeam's Customer Support Policy, read on December 2, 2026.

What lives in the configuration database, and what does not?

The configuration database page says it "stores data about the backup infrastructure, jobs, sessions and other configuration data," on Microsoft SQL Server or PostgreSQL, local or remote. Veeam runs a DatabaseMaintenance job weekly and when the Veeam Backup Service restarts. Your restore points live in repositories, so losing this database does not lose backups, but it does lose the server's knowledge of them until you restore a configuration backup or import the files.

The practical differences in version 13

From the backup server system requirements:

QuestionPostgreSQLMicrosoft SQL Server
Supported versions17.x (17.10 included in setup), 15.x, 14.x2016, 2017, 2019, 2022, 2025; all editions
Installed by Veeam setupYes, PostgreSQL 17No; install it yourself
Free-edition size limitNone statedExpress 2025: 50 GB; earlier Express: 10 GB
Required settingsUTF-8 default encoding; keep the default postgres database nameNo case-sensitive collations
High availabilityNot described on this pageAlways On availability groups supported (per a Veeam KB)
Cloud database services such as Amazon RDSNot supportedNot supported
Veeam Software Appliance (Linux)Listed; a remote PostgreSQL on Linux needs the postgresql17 packages at 17.6 or laterNot listed in the Linux-based server requirements
Tuning after installRun Set-VBRPSQLDatabaseServerLimits and add pg_stat_statements for an existing instanceStandard SQL Server administration

Veeam adds two cautions on the same page: do not share a local PostgreSQL instance with other services, and SQL Server Express "can only be used for evaluation purposes or in case of a small-scale production environment."

If you reuse an existing PostgreSQL instance

The Adjusting PostgreSQL Instance Configuration page lists the steps: run Set-VBRPSQLDatabaseServerLimits on the backup server with your OS type, CPU count and RAM to generate a SQL file, apply it with psql, add pg_stat_statements to shared_preload_libraries, restart the service and create the pg_stat_statements extension. The bundled instance does not need this; it is for an instance you installed yourself.

Moving from SQL Server to PostgreSQL

The migration page uses a configuration backup and restore, not a database tool:

  1. Stop and disable all jobs; Veeam warns that a job run mid-migration will fail to synchronize afterward.
  2. Main menu, Configuration Backup, Backup now, to a repository.
  3. Configuration Backup, Restore, choose the Migrate restore mode, and on the Target Database tab select PostgreSQL.
  4. Tune the new instance with Set-VBRPSQLDatabaseServerLimits.
  5. If you encrypt backups and use Enterprise Manager, reactivate the Enterprise Manager keyset.

Limits: migration between engines works only within the same Veeam version, the template1 database must be UTF-8, and Enterprise Manager only collects from backup servers on the same database engine as its own. Moving the whole server to the Linux Software Appliance is a different, one-way procedure in the Migration Tool; Veeam says you cannot move back to Windows.

Who supports the database engine

Section 10 of Veeam's Customer Support Policy (last updated October 9, 2026) says only configurations in the user guide are supported, Veeam Support helps with basic installation troubleshooting, and it "does not assist with upgrades or patching the SQL Instance or Operating System hosting the Veeam Configuration Database." Patching is yours either way.

An upgraded server near the Express ceiling

Take an illustrative 100-person firm that upgraded from version 12 with SQL Server 2016 Express, whose database is near the 10 GB Express limit, and that has no Enterprise Manager.

  • Migrate to PostgreSQL during a quiet weekend using the steps above. It removes the size ceiling without buying a SQL Server license.
  • Do not rely on an ordinary VM backup job to protect the backup server; Veeam's Managing Configuration Database page says to always use the configuration backup feature instead.
  • Test: after migration, re-enable the jobs, watch the first run of each finish, and run one restore from an existing restore point to prove the server still finds its backups.

An Enterprise Manager on SQL Server that also serves other backup servers changes the plan: migrate it at the same time or leave all of them on SQL Server. If you are still on version 12, Veeam version comparison covers what else changes in 13. For the Windows machines Veeam Agent protects, Veeam Agent Server vs Workstation explains the editions. Wider planning sits in the IT disaster recovery plan template and backup and disaster recovery FAQ.

NetSys runs Datto and Veeam for managed clients and keeps configuration backups current under its disaster recovery services. If your backup server would be hard to rebuild tomorrow, Review my backup coverage.

More on this topic: Business backup guides.

Frequently asked questions

Should I use PostgreSQL or MSSQL for Veeam?

For a new Veeam Backup & Replication 13 install, PostgreSQL 17 from the setup is the simplest choice and has no Express size cap. SQL Server remains fully supported and makes sense where you rely on Always On availability groups or an Enterprise Manager already on SQL Server.

What is the SQL Server Express size limit for the Veeam database?

Veeam's requirements page says SQL Server 2025 Express is limited to 50 GB and earlier Express versions to 10 GB. Larger databases need another SQL Server edition or PostgreSQL.

Can I migrate the Veeam configuration database from SQL Server to PostgreSQL?

Yes. Create a configuration backup, then restore it with the Migrate mode and choose PostgreSQL as the target database. The source and target must be on the same Veeam version.

Can the Veeam database run on Amazon RDS or Azure SQL?

Veeam says it does not support PostgreSQL or SQL Server installations on cloud database services, giving Amazon RDS as the example.

Sources

Veeam pages read on December 2, 2026:

Disaster Recovery

Discuss Disaster Recovery for your business.

Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.