# How to build backup tools for MySQL 8.4 on Red Hat 7.x and Compilation of XtraBackup

**URL:** <https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413>\
**Category:** Percona XtraBackup\
**Tags:** mysql, percona\
**Created:** [October 17, 2024, 1:55am UTC](https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413 "2024-10-17T01:55:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bin\_Wang](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/bin_wang/32/18541_2.png) [@Bin\_Wang](https://forums.percona.com/u/Bin_Wang)\
**Post date:** [October 17, 2024, 1:55am UTC](https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413/1 "2024-10-17T01:55:05Z")

</div>

Currently, many of our production applications still use Red Hat 7.x, but after upgrading MySQL to 8.4, I am unable to back up. The official website ([Software Downloads - Percona](https://www.percona.com/downloads)) no longer allows downloading tools compatible with mysql-server-8.4. I am using glibc-2.17, and the size of the XtraBackup binary package is about 273M, whereas the minimal version of glibc-2.28 downloaded from the official site is about 59M. How was this compiled?

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [October 17, 2024, 1:53pm UTC](https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413/2 "2024-10-17T13:53:03Z")

</div>

Hey @Bin_Wang  
you can find how we build packages in our build script: [percona-xtrabackup/storage/innobase/xtrabackup/utils/percona-xtrabackup-8.0\_builder.sh at 8.4 · percona/percona-xtrabackup · GitHub](https://github.com/percona/percona-xtrabackup/blob/8.4/storage/innobase/xtrabackup/utils/percona-xtrabackup-8.0_builder.sh)

---

<div class="post-metadata">

**Author:** ![Vadim\_Yalovets](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadim_yalovets/32/43_2.png) [@Vadim\_Yalovets](https://forums.percona.com/u/Vadim_Yalovets)\
**Post date:** [October 17, 2024, 2:03pm UTC](https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413/3 "2024-10-17T14:03:02Z")

</div>

Also we have got an instructions of how-to compile PXB from source

> **[Percona XtraBackup - Compile xtrabackup](https://docs.percona.com/percona-xtrabackup/8.4/compile-xtrabackup.html)**
>
> The following instructions install Percona XtraBackup 8.4.

---

<div class="post-metadata">

**Author:** ![Bin\_Wang](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/bin_wang/32/18541_2.png) [@Bin\_Wang](https://forums.percona.com/u/Bin_Wang)\
**Post date:** [October 18, 2024, 6:32am UTC](https://forums.percona.com/t/how-to-build-backup-tools-for-mysql-8-4-on-red-hat-7-x-and-compilation-of-xtrabackup/34413/4 "2024-10-18T06:32:43Z")

</div>

Thank you for your patient response. the compilation was successful.
