How Export Works

Exporting PostgreSQL databases with Veeam Explorer for PostgreSQL works in the following manner:

  1. To start the export process, Veeam Explorer for PostgreSQL sends an export command to the Veeam Mount Service. The service runs on the mount server associated with the backup repository.
  2. The Veeam Mount Service delegates this request to the Veeam Explorers Recovery Service running on the same server.
  3. The Veeam Explorers Recovery Service connects to the staging server (or the target server for the publishing operation when exporting from a published instance). The service validates the permissions of the selected user and checks if there is enough free space on the staging server and the target machine. The Veeam Explorers Recovery Service sends a request to the Veeam Mount Service to connect to the backup repository and initiate the mounting operation.
  4. The Veeam Mount Service uses FUSE to mount the necessary file system from the backup repository to the /tmp directory on the staging server. Veeam Explorers Recovery Service starts the instance from the mounted file system.
  1. The Veeam Explorers Recovery Service scans the /var/tmp and /tmp directories on the staging server. Using the pg_dump utility, the service saves the selected databases to the directory that has more available space. The output of the export operation is a DUMP file in the directory format (-Fd option).

Note that when exporting a database from a published instance, the DUMP file is saved directly to the server onto which the instance is published and it does not require a staging server. For more information, see Exporting From Published Instances.

  1. The Veeam Explorers Recovery Service sends the DUMP file to the target machine, which can either be the local host where the Veeam Backup & Replication console is installed, or any Linux machine. Data transfer is established by data movers running on the staging server (target server for the publishing operation if exporting from a published instance) and the target machine.

The export session is resilient to network disruptions, backup server or mount server crashes. If anything disrupts the export process, you can launch retry after the server or network is up.

After the export operation successfully completes, Veeam Explorer for PostgreSQL removes the DUMP file from the /var/tmp or the /tmp directory on the staging server and drops the published instance.

You can save the exported DUMP file to the necessary PostgreSQL server and restore it with the pg_restore utility. For more information about restoring DUMP files, see Restoring Exported Database.

How Export Works

Page updated 10/3/2024

Page content applies to build 12.2.0.334