Log Shipping Servers
For every PostgreSQL VM whose WAL files you want to back up, Veeam Backup & Replication defines how to ship logs to the backup repository. WAL files can be transported in the following ways:
- Direct connection. If it is possible to establish a direct connection between the VM guest OS and backup repository, WAL files will be shipped directly from the VM guest OS to the backup repository. This method is recommended — it does not involve additional resources and puts less load on the VM guest OS.
- Over log shipping server. If a direct connection is not possible, files will be shipped through log shipping servers. You can configure Veeam Backup & Replication to choose a log shipping server from the list of available ones or to use a specific server.
Note that if a direct connection is possible, files will be always transferred from VM guest to repository directly (regardless of the configured log shipping server, as this server will not be involved). This approach helps to optimize performance at file transfer.
A log shipping server is a Microsoft Windows server added to the backup infrastructure. You can explicitly define what servers you want to use for log shipping or instruct Veeam Backup & Replication to automatically choose an optimal log shipping server. Veeam Backup & Replication chooses the log shipping server based on two criteria: possible data transfer methods and location of the PostgreSQL VM and log shipping server. For more information, see Location of Log Shipping Server and VMs.
Data Transfer Methods
Log shipping servers can transport data in two ways:
- Over the network. In this scenario, Veeam Backup & Replication obtains files from the VM guest OS and transfers them over the network. This is a default method that uses log shipping servers.
- Over VIX API/vSphere Web Services. In this scenario, Veeam Backup & Replication obtains WAL files from the VM guest OS over the VIX API/vSphere Web Services, bypassing the network.
Location of Log Shipping Server and VMs
- The log shipping server is located on the same ESXi host as the PostgreSQL VM.
- The log shipping server and PostgreSQL VM are located in the same network.
- The log shipping server and PostgreSQL VM are located in different networks (the production infrastructure is isolated from the backup infrastructure).
Important |
If you do not want to use some servers for WAL files transport, you can manually define what server Veeam Backup & Replication must use as a log shipping server in the job settings. It is recommended that you assign the log shipping server role to a number of servers for availability purposes. |