From 13f3ebf189a13d4e42ca5b2eda7892418ee9a52a Mon Sep 17 00:00:00 2001 From: Thomas Bruckmann Date: Fri, 29 Apr 2022 09:15:06 +0200 Subject: [PATCH] fix missing rebuild-threads option --- pyxbackup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyxbackup b/pyxbackup index 8dbad0e..550f084 100644 --- a/pyxbackup +++ b/pyxbackup @@ -588,9 +588,11 @@ def _apply_log(bkp, incrdir=None, final=False): ibx_opts = "" if xb_ibx_bin != 'innobackupex': ibx_opts = '--prepare ' + if XB_VERSION_MAJOR == 8: + ibx_opts += ' --rebuild-threads=%d' % xb_opt_rebuild_threads else: ibx_opts = '--apply-log ' - ibx_opts += "--use-memory=%dM" % xb_opt_prepare_memory + ibx_opts += " --use-memory=%dM" % xb_opt_prepare_memory log_fd = None p_tee = None