Skip to content

Commit acb70a2

Browse files
PXC-4848 [DOCS] PXB tarball information is incorrect when installing from source (8.4) (#307)
* PXC-4848 [DOCS] PXB tarball information is incorrect when installing from source modified: docs/compile.md * Update compile.md
1 parent 5f5517e commit acb70a2

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

docs/compile.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,24 @@ To compile Percona XtraDB Cluster from source code:
7777
git submodule update --init --recursive
7878
```
7979

80-
3. Download the matching Percona XtraDB Cluster {{vers}} tarball (*.tar.gz) for your operating system from [Percona Software Downloads :octicons-link-external-16:](https://www.percona.com/downloads/). The following example extracts the Percona XtraDB Cluster {{vers}} tar.gz file to the target directory `./pxc-build`:
80+
81+
3. Download **both** Percona XtraBackup {{vers}} and Percona XtraBackup 8.0 tarballs (*.tar.gz) for your operating system from [Percona Software Downloads :octicons-link-external-16:](https://www.percona.com/downloads/).
82+
83+
Both XtraBackup versions are required:
84+
85+
* Percona XtraBackup {{vers}} is used for backup and restore operations
86+
* Percona XtraBackup 8.0 is required for State Snapshot Transfer (SST)
87+
88+
Extract the tarballs into the `pxc-build/pxc_extra` directory and ensure the directories are named exactly as shown below:
8189

8290
```shell
83-
tar -xvf percona-xtrabackup-{{vers}}-Linux-x86_64.glibc2.31.tar.gz -C ./pxc-build
91+
mkdir -p ./pxc-build/pxc_extra
92+
93+
tar -xvf percona-xtrabackup-{{vers}}-Linux-x86_64.glibc2.xx.tar.gz -C ./pxc-build
94+
mv ./pxc-build/percona-xtrabackup-{{vers}}-Linux-x86_64.glibc2.xx ./pxc-build/pxc_extra/pxb-{{vers_major}}
95+
96+
tar -xvf percona-xtrabackup-8.0.x-Linux-x86_64.glibc2.xx.tar.gz -C ./pxc-build
97+
mv ./pxc-build/percona-xtrabackup-8.0.x-Linux-x86_64.glibc2.xx ./pxc-build/pxc_extra/pxb-8.0
8498
```
8599

86100
4. Run the build script `./build-ps/build-binary.sh`. By default, it attempts to build into the current directory. Specify the target output directory, such as `./pxc-build`:
@@ -90,9 +104,7 @@ To compile Percona XtraDB Cluster from source code:
90104
./build-ps/build-binary.sh ./pxc-build
91105
```
92106

93-
94-
95-
When the compilation completes, `pxc-build` contains a tarball, such as `Percona-XtraDB-Cluster-{{vers}}.tar.gz`, that you can deploy on your system.
107+
When the compilation completes, `pxc-build` contains a tarball, such as `Percona-XtraBackup-{{vers}}.tar.gz`, that you can deploy on your system.
96108

97109
!!! note
98110

0 commit comments

Comments
 (0)