Table of Contents Previous Next


6 Upgrading to BART 2.4 : 6.2 Upgrading from BART 2.1, 2.2, or 2.3 to BART 2.4

Step 1: Assume the identity of the BART user account and invoke the following command to stop the BART 2.1/2.2/2.3 WAL scanner program (bart-scanner):
Step 2: As the root user, upgrade to BART 2.4 with the yum upgrade command.
If you have an existing BART RPM installation, you can use yum to upgrade your repository configuration file and update to a more recent product version. To update the edb.repo file, assume superuser privileges and enter:
yum will update the edb.repo file to enable access to the current EDB repository, configured to connect with the credentials specified in your edb.repo file. Then, you can use yum to upgrade any installed packages:
The following syntax uses the yum command to update to the BART RPM package file that has been downloaded to the current working directory. The local package file is installed by using the complete, RPM package file name:
yum upgrade edb-bart-2.4.x-x.rhel7.x86_64.rpm
Ensure the backup_path parameter of the BART 2.4 configuration file is set to a new directory and not to any existing BART 2.1/2.2/2.3 backup catalog. In other words, new full backups and incremental backups taken using BART 2.4 must be stored in a new BART backup catalog.
Note: The bart.cfg configuration file is only required on the BART 2.4 host from which you will invoke BART subcommands. BART does not require the bart.cfg file on hosts on which an incremental backup will be restored.
Step 3: Repeat the process described in this section to upgrade to BART 2.4 on each remote hosts where an incremental backup will be restored.
See the EDB Postgres Backup and Recovery Guide for additional information about restoration of incremental backups on remote hosts; the guide is available at:
Note: If the bart --version command returns an error stating the PATH is not available after switching from root user to another BART user account, adjust the setting of the PATH environment variable to include the directory location of the BART 2.4 bin subdirectory in the ~/.bashrc or ~/.bash_profile files of the following user accounts:
The PATH setting should be the same as set for BART 2.1/2.2/2.3 since all versions use /usr/edb/bart/bin.
Note: After upgrading to BART 2.4, you must take a new full backup of your system before performing an incremental backup.

6 Upgrading to BART 2.4 : 6.2 Upgrading from BART 2.1, 2.2, or 2.3 to BART 2.4

Table of Contents Previous Next