Before installing BART, ensure that your repository configuration allows access to the EDB repository. For information about requesting credentials, visit:
yumto create the repository configuration file:
yum -y install https://yum.enterprisedb.com/edb-repo-rpms/edb-repo-latest.noarch.rpm
Use your choice of editor to modify the repository configuration file (named
edb.repo, located in
/etc/yum.repos.d) ensuring that the value of the enabled parameter is
1, and replacing the
passwordplaceholders in the
baseurlspecification with the name and password of a registered EnterpriseDB user.
Before installing other software, use
yumto install the
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
You must enable the
[extras]repository definition in the
CentOS-Base.repofile (located in
yumto install an Advanced Server or PostgreSQL database on any server on which an incremental backup will be restored. The host of the BART server is not required to have an installation of Postgres, but must include a copy of the following:
- Postgres libpq library
- Postgres pg_basebackup utility program
- Boost Libraries version 1.48 and 1.53 (for RHEL/CentOS 6 and RHEL/CentOS 7 only).
Enable and activate Secure Shell (SSH) and Secure Copy (SCP) client programs on the BART host as well as on the remote database server hosts. The BART host and target database server host must accept a password-less SSH/SCP login connection.
After meeting the prerequisites, you can install the BART RPM package directly from the EnterpriseDB yum repository with the following command:
yum install edb-bart
Repeat the installation process described in this section to install BART 2.4 on all remote hosts where incremental backups are to be restored.
BART is installed in the
/usr/edb/bart directory location referred to as BART_HOME.