Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.3.35, 10.4.25, 10.5.16, 10.6.8
-
None
-
RHEL
Description
Hi,
I have log_bin specified to the data directory:
/etc/my.cnf.d/common.cnf:12:log_bin="/var/lib/mysql/mariadb"
In the mariabackup output, I see that mariabackup copies the binary logs to the backup directory:
[00] 2022-06-06 19:22:58 Compressing /var/lib/mysql/mariadb.000270 to /backupdisk/diff-2022-06-06_19-07-01/mariadb.000270.qp
This is needless consumption of space on the backup disk.
I did not find a command-line switch to disable copying the binary logs, I think this is a bug in mariabackup to just copy all the files that are in the data directory.
Specifying a custom binlog directory is NOT a work-around for this issue. It does not seam that the general log is stored with the backup, so why can the binary logs not be excepted?
Earlier bakup runs (with a different mariabackup version) did not show this issue, it seams some thing changed in mariabackup.
My current version:
mariabackup based on MariaDB server 10.3.35-MariaDB Linux (x86_64)
[00] 2022-06-06 10:26:07 Using server version 10.3.31-MariaDB-log
/usr/bin/mariabackup based on MariaDB server 10.3.35-MariaDB Linux (x86_64)
The older runs were slightly different versions:
[00] 2022-03-23 00:07:01 Using server version 10.3.31-MariaDB-log
/usr/bin/mariabackup based on MariaDB server 10.3.34-MariaDB Linux (x86_64)
Thank you,
Michaël
Attachments
Issue Links
- is caused by
-
MDEV-27524 Incorrect binlogs after Galera SST using rsync and mariabackup
- Closed
- relates to
-
MDEV-28772 Mariabackup locks database for minutes since 10.8.3
- Closed
-
MDEV-29109 mariabackup --rsync option broken since 10.3
- Closed
-
MDEV-28015 Mariabackup | GTID value is missing, Galera Cluster , adding async slave to it
- Closed
-
MDEV-28781 mariabackup rsync fails to copy /var/lib/mysql/var/lib/mysql/ib_buffer_pool
- Closed
- split to
-
MDEV-28968 mariabackup SST doesn't properly handle --innodb-buffer-pool-filename
- Closed