dotmanila / pyxbackup

XtraBackup wrapper/manager in Python
GNU General Public License v2.0
85 stars 41 forks source link

Xtrabackup 8 compatibility #49

Open romulus-ai opened 2 years ago

romulus-ai commented 2 years ago

Adds two more options to configure --parallel and --rebuild-threads for xtrabackup for better ressource usage.

Since testing was a mess, I made what I am able to do, to make the script python 3.x compatible.

Tested in an manually installed testenv using percona server for mysql and xtrabackup, both version 8.0.27. Without compression or encryption of the backup, however with prepare enabled. However, think thats the main usecase.