Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Oracle/MSSQL/MySQL » Install PostgreSQL on Windows server as Veeam Database Engine

Install PostgreSQL on Windows server as Veeam Database Engine

Posted on 02/01/202407/08/2024 Christian By Christian No Comments on Install PostgreSQL on Windows server as Veeam Database Engine
postgresql on windows

Starting from Veeam Backup & Replication v12, the PostgreSQL database can be used instead of Microsoft SQL Server. It will interest you to know that, this default installation comes with PostgreSQL. PostgreSQL runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, macOS, Solaris), and Windows. In this article, you will learn how to Install PostgreSQL on a Windows server as a Veeam Database Engine. Please see How to install PostgreSQL on Ubuntu, How to install Mattermost on Ubuntu and Debian, and how to upgrade Veeam Backup and Replication v11 to v12.1.

PostgreSQL is a powerful, open-source object-relational database system with active development that has earned it a strong reputation for reliability, feature robustness, and performance. Since it is an object-oriented database that is fully ACID-compliant and highly extensible. It enables the community to add new features and capabilities as workload demands evolve.

This choice allows Veeam to leverage a powerful and proven database solution for managing its backup and recovery data.

Also, see Docker Engine Installation on Ubuntu, how to Set up Veeam Backup for Microsoft Azure, and How to Install and Upgrade Docker Engine From Binaries.

Why did Veeam Switch to Postgre as the Default Database Engine?

This decision to switch to PostgreSQL was made due to the limitation associated with Microsft SQL Express edition in terms of scaling (eg max 10 GB Database size). See the System requirements

PostgreSQL does not have these limitations and it does not require an expensive license either. Additionally, the default installation will automatically tune the database for Veeam Backup & Replication.

PostgreSQL Platform Support

At the time of writing this article, the following versions are supported on Windows Platforms.

Platform Support for PostgreSQL

Download and Install PostgreSQL

The installer includes the PostgreSQL server, pgAdmin; a graphical tool for managing and developing your databases, and StackBuilder; a package manager that can be used to download and install additional PostgreSQL tools and drivers.

Stackbuilder includes management, integration, migration, replication, geospatial, connectors and other tools. Here is how to Configure NIC Teaming on Windows Server.

Download PostgreSQL for Windows

Please download PostgreSQL. The installer is designed to be a straightforward, fast way to get up and running with PostgreSQL on Windows. As you can see below, the installer has been downloaded.

Steps-to-Install-PostgreSQL

Install PostgreSQL

Double-click on the installer file. This will launch the installation wizard will guide you through the set up steps. On the Setup PostgreSQL window, click on Next.

Setup-PostGre

On the installation directory, I am fine with the default. Click Next to continue.

Installation Directory

On the select components windows, I am fine with all components. I will, therefore, click next to continue.

Select-PostgreSQL-components
- The PostgreSQL Server installs the PostgreSQL database server
- pgAdmin 4 installs the PostgreSQL database GUI management tool.
- The Command Line Tools: These tools allow you to interact with the PostgreSQL database server using the command-line interface.
- Stack Builder provides a GUI that allows you to download and install drivers that work with PostgreSQL.

Select the database directory to store the data or accept the default folder. Click the Next button to go to the next step

database directory

Next, you will be required to enter the password for the database superuser (postgres)

password for the database superuser

Note: PostgreSQL runs as a service in the background under a service account named postgres. If you already created a service account with the name postgres, you need to provide the password of that account in the following window.

Specify PostgreSQL Port Number

Enter a port number on which the PostgreSQL database server will listen. The default port of PostgreSQL is 5432. You need to make sure that no other applications are using this port.

Port Number

Choose the default locale used by the PostgreSQL database. I am fine with the default. If you leave it as the default locale, PostgreSQL will use the operating system locale. After that click the Next button

default locale

The setup wizard will show the pre-installation summary information of PostgreSQL. You need to review it and click the Next button if everything is correct. Otherwise, you need to click the Back button to change the configuration accordingly.

pre-installation summary information of PostgreSQL

On the ready to install PostgreSQL on your computer. Click the Next button to begin installing PostgreSQL.

Note that the installation will take a few minutes to complete. Sit back and relax!
Ready to install

As you can see below, the installation has started.

Installation of PostgreSQL on Windows

Click the Finish button to complete the PostgreSQL installation.

Complete Setup

Since we selected to include the Stack Builder components. You will be prompted with this window. Follow through with the prompt as these steps are not relevant to the post.

Stack Builder

Verify PostgreSQL installation

There are several ways to verify the PostgreSQL installation. You can try to connect to the PostgreSQL database server from any client application e.g.,  psql and pgAdmin as shown below.

Verify the Installation

Connect to PostgreSQL database server using pgAdmin. Please enter your password to connect

Enter Password to connect
Connection successful

Create a local user in PostgreSQL

In this section, I will create a local user in PostgreSQL named “veeam” with Superuser permissions so that it can create a Veeam database and perform all necessary processes during the migration process.

Create a local user account

Enter the name

Veeam-local-user

On the Definition page, enter the password. On the privilege tab, assign the following permission.

Assign permission

In the next guide, I will show you how to migrate the Veeam Backup & Replication Configuration Database to PostgreSQL.

FAQs

What are the system requirements for installing PostgreSQL with Veeam?

Before installing PostgreSQL for Veeam, ensure that the server meets the minimum system requirements. These include a supported Windows operating system, sufficient RAM, CPU, and disk space.

In addition to the above, Veeam might recommend specific versions of PostgreSQL that are tested and certified to work seamlessly with the Veeam Backup & Replication software. Refer to the Veeam documentation for the precise system requirements for your Veeam version. At the time of writing this guide, Veeam supports PostgreSQL from version 14 and above.

What troubleshooting steps should I take if PostgreSQL installation for Veeam encounters issues on Windows?

If you encounter issues during or after the PostgreSQL installation for Veeam on Windows. Please follow the steps below to resolve the issue.
– Check the PostgreSQL installation logs for any error messages.
– Verify that the required ports are open and not blocked by the firewall.
– Ensure that there are no conflicts with other services using the same port.
– Review Veeam documentation and community forums for common troubleshooting solutions.
– Lastly, consider reinstalling PostgreSQL, making sure to follow Veeam and PostgreSQL installation best practices.

Can I use an existing PostgreSQL installation for Veeam Database?

It is possible to use an existing PostgreSQL installation for Veeam Database. During the installation process, you can choose to connect Veeam to an existing PostgreSQL server.

This is useful in scenarios where an organization already has a centralized PostgreSQL infrastructure. Ensure that the existing PostgreSQL version is supported by Veeam, and the necessary configurations align with Veeam’s requirements.

I hope you found this guide useful on how to Install PostgreSQL on a Windows server as a Veeam Database Engine. Please feel free to leave a comment below.

5/5 - (1 vote)

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
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Oracle/MSSQL/MySQL Tags:Database, Microsoft Windows, PostgreSQL, Veeam, Veeam Backup and Replication, Windows Server 2016

Post navigation

Previous Post: How to upgrade Veeam Backup and Replication v11 to 12.1
Next Post: What is Phishing Resistant Multi-Factor Authentication?

Related Posts

  • Uninstall SQL Server 2025
    Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
  • images
    Unable to connect to MSSQL Server after changing Server name Oracle/MSSQL/MySQL
  • oracle q4 earnings are in e28094 but what does it really mean 700x425 1
    How to uninstall Oracle Database 11G or 12c Oracle/MSSQL/MySQL
  • mysqlhero
    How to reset MySQL Root password Oracle/MSSQL/MySQL
  • sql
    How to alter a DATABASE compatibility level Oracle/MSSQL/MySQL
  • installer file too long fix
    Fix long path names to files on SQL Server installation media error Oracle/MSSQL/MySQL

More Related Articles

Uninstall SQL Server 2025 Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
images Unable to connect to MSSQL Server after changing Server name Oracle/MSSQL/MySQL
oracle q4 earnings are in e28094 but what does it really mean 700x425 1 How to uninstall Oracle Database 11G or 12c Oracle/MSSQL/MySQL
mysqlhero How to reset MySQL Root password Oracle/MSSQL/MySQL
sql How to alter a DATABASE compatibility level Oracle/MSSQL/MySQL
installer file too long fix Fix long path names to files on SQL Server installation media error Oracle/MSSQL/MySQL

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Grant Non Domain Admin Privileges to Manage Workstation
    Grant Non-Domain Admin Privileges to Manage Workstation Windows
  • drivelock 1280x720 1
    Concept of DriveLock with a focus on Encryption Security | Vulnerability Scans and Assessment
  • Perform an in place upgrade of Windows Server
    In-place upgrade of Windows Server 2022 to 2025 Backup
  • How To Fix “Startup Repair Couldn’t Repair Your PC
    How To Fix “Startup Repair Couldn’t Repair Your PC Windows
  • Run Android Apps on Windows with BlueStacks
    How to Run Android Apps on Windows with BlueStacks Windows
  • rdp
    How to fix Remote Desktop can’t connect to the remote computer for one of these reasons Windows Server
  • Active Directory Security Hardening with GPO and Policy Analyzer
    Harden Active Directory Using CIS Benchmark and MSCT 1.0 Windows Server
  • TPM
    Clear TPM: How to enable or disable TPM in 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,823 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.