Skip to content

Commit 6398ef5

Browse files
Merge pull request #1098 from EnterpriseDB/bart_262
Former-commit-id: 971bbbd
2 parents a65f297 + 2f13fbd commit 6398ef5

File tree

74 files changed

+8167
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+8167
-0
lines changed

product_docs/docs/bart/2.6.2/bart_inst/02_installing_bart.mdx

Lines changed: 429 additions & 0 deletions
Large diffs are not rendered by default.

product_docs/docs/bart/2.6.2/bart_inst/03_configuring_bart.mdx

Lines changed: 643 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: "Upgrading BART"
3+
4+
legacyRedirectsGenerated:
5+
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
6+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/upgrading_bart.html"
7+
---
8+
9+
<div id="upgrade" class="registered_link"></div>
10+
11+
This section outlines the process of upgrading BART from an existing version to the latest version.
12+
13+
- [Upgrading from BART 2.0](#upgrading-from-bart-20) describes the upgrade process from BART 2.0 to the latest version.
14+
- [Upgrading from Older Versions of BART (except 2.0)](#upgrading_from_older_versions_except_2_0_to_latest_versions_of_bart) describes the upgrade process from previous BART versions (except 2.0) to the latest version.
15+
16+
**Upgrade Restrictions**
17+
18+
The following restrictions apply with regard to previous BART versions.
19+
20+
- You can take incremental backups using the latest version only when the parent backup (full or incremental backup) has also been taken with the latest version.
21+
- Using the latest version, you can restore incremental backups that are taken only with the latest version of BART. However, using the latest version you can restore full backups that were taken with older versions.
22+
23+
<div id="upgrading_from_older_versions_except_2_0_to_latest_versions_of_bart" class="registered_link"></div>
24+
25+
## Upgrading from Older Versions of BART (except 2.0)
26+
27+
Perform the following steps to upgrade from older versions of BART (except 2.0) to the latest version:
28+
29+
**Step 1:** Assume the identity of the BART user account and invoke the following command to stop the BART WAL scanner program (`bart-scanner`):
30+
31+
```text
32+
bart-scanner STOP
33+
```
34+
35+
**Step 2:** As the `root` user, upgrade to the latest BART version with the `yum upgrade` command.
36+
37+
- To upgrade the BART RPM package directly from the *EDB Yum Repository* website, specify only the package name:
38+
39+
On CentOS 7:
40+
41+
```text
42+
yum upgrade edb-bart
43+
```
44+
45+
You can also use a downloaded RPM package file to upgrade. To use a downloaded BART RPM package file to upgrade, use the `yum` command, specifying the complete RPM package file name:
46+
47+
```text
48+
yum upgrade edb-bart-2.6.2 rhel7.x86_64.rpm
49+
```
50+
51+
**Step 3:** Repeat the process described in this section to upgrade to the latest BART version on each remote hosts where an incremental backup will be restored.
52+
53+
For additional information about restoration of incremental backups on remote hosts, see the EDB Backup and Recovery User Guide available at the [EDB website](/bart/latest/bart_user/).
54+
55+
**Step 4:** 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 location of the BART 2.6.2 executable (the `bin` subdirectory) in the `~/.bashrc` or `~/.bash_profile` files of the following user accounts:
56+
57+
- The BART user account on the BART host.
58+
- The remote user account on the remote host to which incremental backups are to be restored. For details, see the EDB Backup and Recovery User Guide available at the [EDB website](/bart/latest/bart_user/).
59+
60+
The `PATH` setting should be the same as set for BART 2.6.2 since all versions use `/usr/edb/bart/bin`.
61+
62+
!!! Note
63+
After upgrading to the latest BART version, you must take a new full backup of your system before performing an incremental backup.
64+
65+
<div id="upgrading_from_bart_2_0" class="registered_link"></div>
66+
67+
## Upgrading from BART 2.0
68+
69+
Perform the following steps to upgrade BART 2.0 to the latest version of BART:
70+
71+
**Step 1:** Install the latest version of BART. For information about how to install, see [installing BART](02_installing_bart/#installing-bart).
72+
73+
**Step 2:** Save a copy of your BART 2.0 configuration file. The default location of the BART 2.0 configuration file is `/usr/edb/bart2.0/etc/bart.cfg`.
74+
75+
**Step 3:** Invoke the following command to remove BART 2.0:
76+
77+
On CentOS 7:
78+
79+
```text
80+
yum remove edb-bart20
81+
```
82+
83+
**Step 4:** Place the BART 2.0 configuration file (`bart.cfg`) that you saved in Step 2 in the newly created `/usr/edb/bart/etc` directory. You can use many of the same configuration parameters for BART 2.6.2, but note that you must use a new directory for the BART backup catalog. A new set of full backups and incremental backups taken using BART 2.6.2 must be stored in a new BART backup catalog.
84+
85+
To specify an alternative configuration file name or location, use the `-c` option with BART subcommands. For more information about the `-c` option, see the EDB Backup and Recovery Us available at the [EDB website](/bart/latest/bart_user/).
86+
87+
!!! Note
88+
The `bart.cfg` configuration file is only required on the BART 2.6.2 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.
89+
90+
**Step 5:** Adjust the setting of the `PATH` environment variable to include the location of the BART 2.6.2 executable (the `bin` subdirectory) in the `~/.bashrc` or `~/.bash_profile` files for the following user accounts:
91+
92+
- The BART user account on the BART host.
93+
- The user account on the remote host to which incremental backups will be restored. For details, see the EDB Backup and Recovery User Guide available at the [EDB website](/bart/latest/bart_user/).
94+
95+
**Step 6:** Perform the BART 2.6.2 installation and BART 2.0 removal process on each remote host on which an incremental backup was restored using BART 2.0.
96+
97+
!!! Note
98+
After upgrading to the latest BART version, you must take a new full backup of your system before performing an incremental backup.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "Uninstalling BART"
3+
4+
legacyRedirectsGenerated:
5+
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
6+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/uninstalling_bart.html"
7+
---
8+
9+
<div id="uninstallation" class="registered_link"></div>
10+
11+
This section walks you through uninstalling BART.
12+
13+
## Uninstalling BART on a RHEL/CentOS Host
14+
15+
To uninstall BART on a RHEL/CentOS host, assume the identity of the `root` user and invoke the following command:
16+
17+
On RHEL/CentOS 7:
18+
19+
```text
20+
yum remove edb-bart
21+
```
22+
23+
On RHEL/CentOS 8:
24+
25+
```text
26+
dnf remove edb-bart
27+
```
28+
29+
Uninstalling BART does not delete the backup files and archived WAL files that reside in the BART backup catalog. To permanently delete the backup files and archived WAL files in the BART backup catalog (`/opt/backup`), use one of the following commands:
30+
31+
- `rm –rf /opt/backup`
32+
- BART `DELETE` subcommand
33+
34+
For information about the BART `DELETE` subcommand, see the *EDB Backup and Recovery User Guide* available at the [EDB website](/bart/latest/bart_user/).
35+
36+
## Uninstalling BART on an SLES 12 Host
37+
38+
To uninstall BART on an SLES 12 host, assume the identity of the `root` user and invoke the following command:
39+
40+
```text
41+
zypper remove edb-bart
42+
```
43+
44+
## Uninstalling BART on a Debian/Ubuntu Host
45+
46+
To uninstall BART on a Debian or Ubuntu host, invoke the following command:
47+
48+
```text
49+
apt-get remove edb-bart
50+
```
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 19 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
navTitle: Installation Guide
3+
title: "EDB Postgres Backup and Recovery Installation Guide"
4+
legacyRedirects:
5+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/requirements_overview.html"
6+
7+
legacyRedirectsGenerated:
8+
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
9+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/conclusion.html"
10+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/genindex.html"
11+
- "/edb-docs/d/edb-backup-and-recovery-tool/installation-getting-started/installation-upgrade-guide/2.6.1/index.html"
12+
---
13+
14+
This guide provides information about how to install and configure the EDB Backup and Recovery Tool (BART) 2.6.2.
15+
16+
<div id="requirements_overview" class="registered_link"></div>
17+
18+
## Requirements Overview
19+
20+
### Supported Platforms and Database Versions
21+
22+
- To view a complete list of supported platforms, visit the [EDB website.](https://www.enterprisedb.com/services-support/edb-supported-products-and-platforms)
23+
24+
!!! Note
25+
BART 2.6.2 is no longer supported on CentOS/RHEL/OEL 6.x platforms. It is strongly recommended that EDB products running on these platforms be migrated to a supported platform.
26+
27+
- BART supports the following database versions:
28+
29+
- Advanced Server versions 9.6, 10, 11, 12, and 13.
30+
- PostgreSQL versions 9.6, 10, 11, 12, and 13.
31+
32+
### Software Requirements
33+
34+
The following components are required for BART installation.
35+
36+
- BART Host Components - Use EDB packages to add BART host components; see [Installing BART](02_installing_bart/#installing-bart) for information about how to install these components.
37+
38+
- Additional Components - In addition to the BART host components, the following components are required:
39+
40+
- The [Secure Shell (SSH) server daemon and Secure Copy (SCP) client programs](03_configuring_bart/#authorizing_ssh_scp_access) must be enabled and activated on the BART host as well as on the remote database server hosts on which BART will be managing backup and recovery.
41+
- BART uses the `pg_basebackup` utility program when taking full backups.
42+
43+
### Limitation
44+
45+
BART supports taking only a full backup of standby servers; it does not support taking incremental or parallel backups of standby servers.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)