---
title: How do I connect a Bocada Cloud Data Collection Agent on one machine to a Veeam PostgreSQL database on a different machine?
description: Connect Bocada Cloud to Veeam PostgreSQL database - update configuration files.
---

[Skip to content](https://help.bocada.com/knowledge/veeam-postgresql-conf-files#main-content)

English

Show submenu for translations

[Customer portal](https://help.bocada.com/tickets-view?hsLang=en)

[![Bocada-Cloud-Logo-2023-1](https://help.bocada.com/hs-fs/hubfs/Bocada-Cloud-Logo-2023-1.png?width=300&height=74&name=Bocada-Cloud-Logo-2023-1.png)](https://help.bocada.com/knowledge?hsLang=en)

- [Support Tickets](https://8890471.hs-sites.com/tickets-view)

Open main navigation

Close main navigation

- [Support Tickets](https://8890471.hs-sites.com/tickets-view)
- English
  
  Show submenu for translations
- [Customer portal](https://help.bocada.com/tickets-view)

 Welcome to Bocada Cloud! How can we help?

- There are no suggestions because the search field is empty.

1. [Bocada Cloud Support Portal](https://help.bocada.com/knowledge?hsLang=en)
2. [Connectors & Backup Applications](https://help.bocada.com/knowledge/connectors-backup-applications?hsLang=en)

# How do I connect a Bocada Cloud Data Collection Agent on one machine to a Veeam PostgreSQL database on a different machine?

## Learn more about configuring a connection when the data collection agent is on a different machine than your Veeam Backup & Replication PostgreSQL database

Once you have identified or [**created a PostgreSQL**](https://help.bocada.com/knowledge/postgresql-user-configure?hsLang=en) user, two files must be updated so Bocada Cloud can collect data from the Veeam PostgreSQL database. The following settings are indicative and represent allowing the most privilege, while your IT policies may dictate different access levels.

**Update Configuration Files:**

Add entries to allow the user created above to access the Veeam database from the server running the Bocada Remote Data Collection Agent.

![](https://help.bocada.com/hs-fs/hubfs/image-png-2.png?width=615&height=78&name=image-png-2.png)

**Notes for updating pg\_hba.conf**:

TYPE should always be "host"

DATABASE can be either of the following

- - - all
          - \<*VeeamDB\_Name*\>

USER should be the username created for the user previously created 

ADDRESS should be one of the following

- - - samenet   -- If the Bocada Cloud Data Collection Agent is installed on the same subnet as the Veeam B&R server
          - \<IP\>/32 -- Where \<IP\> is the IP address the server where your Bocada Cloud Data Collection Agent is installed

METHOD should be md5

**Example pg\_hba.conf**:

![](https://help.bocada.com/hs-fs/hubfs/image-png-Nov-02-2023-06-31-11-6194-PM.png?width=637&height=121&name=image-png-Nov-02-2023-06-31-11-6194-PM.png)

**Reload pg\_hba.conf:**

After configuring the, reload the pg\_hba.conf file by running the following command:

pg\_ctl.exe reload –D \<*Full\_path\_to\_Veeam\_DB\_Data\_Directory*\>

 This command will respond with “server signaled” upon a successful reload:

![](https://help.bocada.com/hs-fs/hubfs/image-png-Nov-02-2023-06-34-39-5303-PM.png?width=595&height=42&name=image-png-Nov-02-2023-06-34-39-5303-PM.png)

**Additional References**:

To configure a machine safely you should be familiar with all the parameters and their meanings, using settings that will correctly filter and give access to the correct user from required sources. It is recommended to backup those files before making any changes, and detailed information can be found at www.postgresql.org:

- - [***pg\_hba.conf***](https://www.postgresql.org/docs/current/auth-pg-hba-conf.html)
    - [***postgresql.conf***](https://www.postgresql.org/docs/16/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS)

- [Getting Started](https://help.bocada.com/knowledge/getting-started?hsLang=en)
- [Connectors & Backup Applications](https://help.bocada.com/knowledge/connectors-backup-applications?hsLang=en)
- [Dashboards](https://help.bocada.com/knowledge/dashboards?hsLang=en)
- [Reports](https://help.bocada.com/knowledge/reports?hsLang=en)
- [Alerts & Notifications](https://help.bocada.com/knowledge/alerts-notifications?hsLang=en)
- [Manage My Account & Profile](https://help.bocada.com/knowledge/manage-my-account-profile?hsLang=en)
- [Users & Organizations](https://help.bocada.com/knowledge/users-organizations?hsLang=en)
- [System Settings](https://help.bocada.com/knowledge/system-settings?hsLang=en)
- [Help & Support](https://help.bocada.com/knowledge/help-support?hsLang=en)
- [Technical Infrastructure](https://help.bocada.com/knowledge/technical-infrastructure?hsLang=en)
- [Other & Miscellaneous](https://help.bocada.com/knowledge/other-miscellaneous?hsLang=en)
- [Privacy & Security](https://help.bocada.com/knowledge/privacy-security?hsLang=en)
- [Billing & Payment](https://help.bocada.com/knowledge/billing-payment?hsLang=en)

- [Bocada.com](https://www.bocada.com/)
- [Terms & Conditions](https://www.bocada.com/bocada-cloud-terms-conditions/)
- [Privacy Policy](https://www.bocada.com/privacy-policy/)

Copyright © 2026, Bocada