Get Postgres Tips and Tricks
Subscribe to get advanced Postgres how-tos.
![]() |
![]() |
![]() |
5 Sample BART System with Local and Remote Database Servers : 5.5 Creating the BART Backup Catalog (backup_path)
Create the directory specified by the backup_path configuration parameter.Use the BART INIT subcommand to complete the directory structure and set the Postgres archive_command configuration parameter.
• Before invoking any BART subcommands, set up a profile under the BART user account’s home directory to set the LD_LIBRARY_PATH and PATH environment variables. See Step 3 in Configuring the BART host section of EDB Postgres Backup and Recovery Installation and Upgrade Guide for information.
• The -o option is specified with the INIT subcommand to force the setting of the Postgres archive_command configuration parameter when archive_mode is off or if the Postgres archive_command parameter is already set and needs to be overridden.The BART SHOW-SERVERS subcommand displays the following:Note: The ARCHIVE PATH field displays the full directory path to where the WAL files are copied. This directory path must match the directory path specified in the Postgres archive_command parameter of the postgresql.conf file or the postgresql.auto.conf file of each database server.
5 Sample BART System with Local and Remote Database Servers : 5.5 Creating the BART Backup Catalog (backup_path)
![]() |
![]() |
![]() |