Table of Contents Previous Next


2 Overview : 2.1 Block-Level Incremental Backup : 2.1.5 Restoring an Incremental Backup

BART Host. If an incremental backup is to be restored onto the same host where BART has been installed, the restore process is outlined in Section 2.1.5.1.
Remote Host. If an incremental backup is to be restored onto a remote host where BART has not been installed, the restore process still follows the steps outlined in Section 2.1.5.1, but in addition, the requirements in Section 2.1.5.2 must be met.
The bart program must be available on the remote host because the RESTORE subcommand invocation for an incremental backup results in the execution of the bart program on the remote host to restore the modified blocks to their proper location within the restore directory.
Specify a backup identifier or name, and include the -i option when invoking the RESTORE subcommand to restore an incremental backup. All RESTORE options are used in the same manner as when restoring a full backup.
See Section 3.4.8 for information about using the RESTORE subcommand for restoring an incremental backup. Also note the usage of the -w option of the RESTORE subcommand to specify a multiple number of parallel worker processes to stream the modified blocks to the restore host.
Step 1: Install BART on the remote host to which an incremental backup is to be restored. See EDB Postgres Backup and Recovery Installation and Upgrade Guide for instructions on how to install BART.
Note: No editing is needed in the bart.cfg file installed on the remote host.
Step 2: Determine the Linux operating system user account on the remote host to be used as the remote user. This user is specified by the remote_host parameter in the BART configuration file or by the -r option when using the RESTORE subcommand to restore the incremental backup. The remote user must be the owner of the directory where the incremental backup is to be restored on the remote host. By default, the user account is enterprisedb for Advanced Server or postgres for PostgreSQL.
Step 3: Ensure a password-less SSH/SCP connection is established from the BART user on the BART host to the remote user on the remote host. See the configuration section of the EDB Postgres Backup and Recovery Installation and Upgrade Guide for details.

2 Overview : 2.1 Block-Level Incremental Backup : 2.1.5 Restoring an Incremental Backup

Table of Contents Previous Next