Skip to content

Commit f44262d

Browse files
authored
Merge pull request #359 from percona/pxb-3443
PXB-3443 [DOCS] - release docs for PXB 8.0.35-32 PRO
2 parents fdccb99 + 19d5e44 commit f44262d

8 files changed

+136
-14
lines changed

docs/compile-xtrabackup.md

+21-10
Original file line numberDiff line numberDiff line change
@@ -93,35 +93,46 @@ directory:
9393
$ cd build
9494
```
9595

96-
3. Run cmake or cmake3. In either case, the options you need to use are the
97-
same.
96+
3. If you use a regular build, run cmake or cmake3. In either case, the options you need to use are the same.
9897

9998
!!! note
10099

101-
You can build *Percona XtraBackup* with man pages but this requires
102-
`python-sphinx` package which isn’t available from that main repositories
103-
for every distribution. If you installed the `python-sphinx` package you
104-
need to remove the `-DWITH_MAN_PAGES=OFF` from previous command.
100+
You can build Percona XtraBackup with man pages but this requires
101+
`python-sphinx` package which isn’t available from the main repositories
102+
for every distribution. If you installed the `python-sphinx` package, remove `-DWITH_MAN_PAGES=OFF` from this command.
105103

106104
```{.bash data-prompt="$"}
107105
$ cmake -DWITH_BOOST=PATH-TO-BOOST-LIBRARY -DDOWNLOAD_BOOST=ON \
108106
-DBUILD_CONFIG=xtrabackup_release -DWITH_MAN_PAGES=OFF -B ..
109107
```
110108

111-
### Parameter Information
112-
113-
| **Parameter** | **Description** |
109+
| Parameter | Description |
114110
|---------------|-----------------|
115111
| `-DWITH_BOOST` | For the `-DWITH_BOOST` parameter, specify the name of a directory to download the boost library to. This directory is created automatically in your current directory. |
112+
| `-DBUILD_CONFIG` | This flag allows you to define a build configuration, such as "debug" or "release", which can be used to control which parts of the source code are compiled. |
116113
| `-DWITH_MAN_PAGES` | To build **Percona XtraBackup** man pages, use `ON` or remove this parameter from the command line (it is `ON` by default). To install the man pages, install the python3-sphinx package first. |
117-
| `-B` (--build)| **Percona XtraBackup** is configured to forbid generating the build pipeline for make in the same directory where you store your sources. The `-B` parameter refers to the directory that contains the source code. In this example, we use the relative path to the parent directory (..). |
114+
| `-B` (--build) | **Percona XtraBackup** is configured to forbid generating the build    pipeline for make in the same directory where you store your sources. The `-B` parameter refers to the directory that contains the source code. In this example, we use the relative path to the parent directory (..). |
118115

119116
!!! important
120117

121118
CMake Error at CMakeLists.txt:367 (MESSAGE): Please do not build in-source. Out-of source builds are highly recommended: you can have multiple builds for the same source, and there is an easy way to do cleanup, simply remove the build directory (note that ‘make clean’ or ‘make distclean’ does `not` work)
122119

123120
You `can` force in-source build by invoking cmake with `-DFORCE_INSOURCE_BUILD=1`.
124121

122+
<!--
123+
If you use [Pro builds](./pxb-pro.md), run the following command:
124+
125+
```{.bash data-prompt="$"}
126+
$ cmake -DPROBUILD=1 -DBUILD_CONFIG=xtrabackup_release -DWITH_MAN_PAGES=OFF ..
127+
```
128+
129+
| Parameter | Description |
130+
|---------------|-----------------|
131+
| `-DPROBUILD=1` | This option enables a Pro build. |
132+
| `-DBUILD_CONFIG` | This option builds a release/optimized version of the xtrabackup binary. |
133+
| `-DWITH_MAN_PAGES` | To build Percona XtraBackup man pages, use `ON` or remove this parameter from the command line (it is `ON` by default). To install the man pages, install the python3-sphinx package first. |
134+
-->
135+
125136
## 4. Compile the source code
126137

127138
To compile the source code in your `build` directory, use the `make` command.

docs/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Percona XtraBackup is an open source hot backup utility for MySQL-based servers,
1010
Whether it is a 24x7 highly loaded server or a low-transaction-volume
1111
Percona XtraBackup is designed to make backups seamless without disrupting the performance of the server in a production environment. Percona XtraBackup (PXB) is a 100% open source backup solution with [commercial support](https://www.percona.com/mysql-support/) available for organizations who want to benefit from comprehensive, responsive, and cost-flexible database support for MySQL.
1212

13+
## Percona XtraBackup Pro
14+
15+
--8<--- "pro-build-announcement.md"
16+
17+
For more information, see [Percona XtraBackup Pro](pxb-pro.md).
18+
1319
## Supported versions
1420

1521
Percona XtraBackup {{release}} can take backups of MySQL-compatible databases in older server versions, if specific conditions are met, and the following later versions:

docs/install-pro.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Install Percona XtraBackup Pro
2+
3+
--8<--- "pro-build-announcement.md"
4+
5+
This document provides guidelines how to install Pro packages of Percona XtraBackup from Percona repositories. [Check files in packages built for Percona XtraBackup Pro :material-arrow-right:](pro-files.md){.md-button}
6+
7+
## Install Amazon Linux 2023
8+
9+
!!! note
10+
11+
Percona XtraBackup 8.0.35-32 Pro build is available for the following platforms:
12+
13+
* Amazon Linux 2023 (AL2023) - We support both AMD64 and ARM64 versions of Amazon Linux 2023.
14+
15+
1. Request the access to the pro repository from Percona Support. You will receive the client ID and the access token which you use when downloading the packages.
16+
17+
2. Install the Percona dnf repository by running the following command as the `root` user or with **sudo**:
18+
19+
```{.bash data-prompt="$"}
20+
$ sudo dnf install \
21+
https://repo.percona.com/dnf/percona-release-latest.\
22+
noarch.rpm
23+
```
24+
25+
3. Enable the repository:
26+
27+
```{.bash data-prompt="$"}
28+
$ sudo percona-release enable pxb-80-pro --user_name=<Your PRO repository user name> --repo_token=<Your PRO repository token>
29+
```
30+
31+
3. Install Percona XtraBackup:
32+
33+
```{.bash data-prompt="$"}
34+
$ sudo dnf install percona-xtrabackup-pro-80
35+
```
36+
37+
4. To decompress backups made using `LZ4` or `ZSTD` compression algorithm, install the corresponding package:
38+
39+
=== "Install the `lz4` package"
40+
41+
```{.bash data-prompt="$"}
42+
$ sudo dnf install lz4
43+
```
44+
45+
=== "Install the `zstd` package"
46+
47+
```{.bash data-prompt="$"}
48+
$ sudo dnf install zstd
49+
```

docs/pro-files.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Files in packages built for Percona XtraBackup Pro
2+
3+
--8<--- "pro-build-announcement.md"
4+
5+
## Files in the RPM package
6+
7+
The files are either aarch64.rpm or x86_64.rpm.
8+
9+
| Package | Contains |
10+
|---------------------------------------------|------------------------------------------------------------------|
11+
|percona-xtrabackup-pro-{{pkg}}-{{amzn}}.aarch64.rpm | The latest Percona XtraBackup GA binaries and associated files. |
12+
|percona-xtrabackup-pro-{{pkg}}-debuginfo-{{amzn}}.aarch64.rpm | The debug symbols for binaries. |
13+
|percona-xtrabackup-pro-{{pkg}}-debugsource-{{amzn}}.aarch64.rpm | The debug source for binaries. |
14+
|percona-xtrabackup-test-pro-{{pkg}}-{{amzn}}.aarch64.rpm | The test suite for Percona XtraBackup. |
15+
|percona-xtrabackup-pro-{{pkg}}-{{amzn}}.x86_64.rpm | The latest Percona XtraBackup GA binaries and associated files. |
16+
|percona-xtrabackup-pro-{{pkg}}-debuginfo-{{amzn}}.x86_64.rpm | The debug symbols for binaries. |
17+
|percona-xtrabackup-pro-{{pkg}}-debugsource-{{amzn}}.x86_64.rpm | The debug source for binaries. |
18+
|percona-xtrabackup-test-pro-{{pkg}}-{{amzn}}.x86_64.rpm | The test suite for Percona XtraBackup. |
19+
20+
## Files in the DEB package
21+
22+
| Package | Contains |
23+
|---------------------------------------------|------------------------------------------------------------------|
24+
|percona-xtrabackup-pro-{{pkg}} | The latest Percona XtraBackup GA binaries and associated files. |
25+
|percona-xtrabackup-pro-dbg-{{pkg}} | The debug symbols for binaries. |
26+
|percona-xtrabackup-test-pro-{{pkg}} | The test suite for Percona XtraBackup. |
27+

docs/pxb-pro.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Percona XtraBackup Pro
2+
3+
--8<--- "pro-build-announcement.md"
4+
5+
## Capabilities
6+
7+
Find the list of capabilities available in Percona XtraBackup Pro:
8+
9+
| Name | Version | Description |
10+
| ----------------------------------- | ------------- | -------------|
11+
| Available on [Amazon Linux 2023](install-pro.md#installamazonlinux2023) | 8.0.35-32 | Amazon Linux 2023 is a purpose-built Linux distribution optimized for AWS. It's designed for performance, security, and seamless integration with the broader AWS ecosystem. We support both AMD64 and ARM64 versions of Amazon Linux 2023. |
12+
13+
## What's in it for you?
14+
15+
* Save on deploying and maintaining build infrastructure as we do the build and testing for you
16+
* Longer support for older versions of operating systems.
17+
18+
[Install Percona XtraBackup Pro](install-pro.md){.md-button}
19+
20+
Community users can receive all these capabilities by [building Percona XtraBackup from the same source code](compile-xtrabackup.md).

mkdocs-base.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ plugins:
124124
with-pdf: # https://github.com/orzih/mkdocs-with-pdf
125125
output_path: '_pdf/PerconaXtrabackup-8.0.pdf'
126126
cover_title: 'Percona XtraBackup Documentation'
127-
cover_subtitle: 8.0.35-32 (2025-01-09)
127+
cover_subtitle: 8.0.35-32 (2025-02-28)
128128
author: 'Percona Technical Documentation Team'
129129
cover_logo: docs/_static/Percona_Logo_Color.png
130130
debug_html: false
@@ -145,9 +145,11 @@ extra:
145145

146146
nav:
147147
- Home: index.md
148+
- pxb-pro.md
148149
- get-help.md
149150
- Release notes:
150151
- Release notes index: release-notes.md
152+
# - release-notes/8.0/8.0.35-32.0.upd.md
151153
- release-notes/8.0/8.0.35-32.0.md
152154
- release-notes/8.0/8.0.35-31.0.upd.md
153155
- release-notes/8.0/8.0.35-31.0.md
@@ -271,6 +273,9 @@ nav:
271273
- Download RPM packages: yum-download-rpm.md
272274
- work-with-selinux.md
273275
- Uninstall: yum-uninstall-xtrabackup.md
276+
- PRO:
277+
- install-pro.md
278+
- pro-files.md
274279
- Use binary tarballs:
275280
- Install with binary tarballs: binary-tarball.md
276281
- Binary tarballs available: binary-tarball-names.md

snippets/pro-build-announcement.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Percona XtraBackup Pro includes the capabilities that are typically requested by large enterprises. Percona XtraBackup Pro contains packages created and tested by Percona. These packages are supported only for Percona Customers with a subscription.
2+
3+
[Become a Percona Customer](https://www.percona.com/about/contact){.md-button}

variables.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
release: '8.0.35-32'
44
update: '8.0.35-32'
55
version: '8.0'
6-
release-date: '2025-01-09'
7-
title_date: '2025-01-09'
8-
6+
pkg: 'pxb-80'
7+
release-date: '2025-02-28' # if a version is updated, change this date
8+
title_date: '2025-02-28' # if a version is updated, change this date
9+
amzn: '8.0.35-32.0.amzn2023.x86_64'

0 commit comments

Comments
 (0)