2017-08-11 15:42:27 +02:00
|
|
|
#
|
|
|
|
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
|
|
|
|
#
|
2018-01-08 16:21:23 +01:00
|
|
|
FOUND 1 /InnoDB: New log files created, LSN=175964\d{8}/ in mysqld.1.err
|
2017-08-11 15:42:27 +02:00
|
|
|
CREATE TABLE t(i INT) ENGINE INNODB;
|
|
|
|
INSERT INTO t VALUES(1);
|
|
|
|
# xtrabackup backup
|
2018-01-08 16:09:21 +01:00
|
|
|
SET GLOBAL innodb_flush_log_at_trx_commit=1;
|
2017-08-11 15:42:27 +02:00
|
|
|
INSERT INTO t VALUES(2);
|
|
|
|
# xtrabackup prepare
|
|
|
|
# shutdown server
|
|
|
|
# remove datadir
|
|
|
|
# xtrabackup move back
|
|
|
|
# restart server
|
|
|
|
SELECT * FROM t;
|
|
|
|
i
|
|
|
|
1
|
|
|
|
DROP TABLE t;
|
2020-07-14 09:52:59 +02:00
|
|
|
# shutdown server
|
|
|
|
# remove datadir
|
|
|
|
# xtrabackup move back
|
|
|
|
# restart server
|