2017-04-18 21:52:03 +02:00
|
|
|
call mtr.add_suppression("InnoDB: New log files created");
|
|
|
|
CREATE TABLE t(i INT) ENGINE INNODB ENCRYPTED=YES;
|
|
|
|
INSERT INTO t VALUES(1);
|
|
|
|
# Create full backup , modify table, then create incremental/differential backup
|
2018-07-06 08:01:24 +02:00
|
|
|
SET GLOBAL innodb_flush_log_at_trx_commit = 1;
|
2017-04-18 21:52:03 +02:00
|
|
|
INSERT INTO t VALUES(2);
|
|
|
|
SELECT * FROM t;
|
|
|
|
i
|
|
|
|
1
|
|
|
|
2
|
|
|
|
# Prepare full backup, apply incremental one
|
|
|
|
# Restore and check results
|
|
|
|
# shutdown server
|
|
|
|
# remove datadir
|
|
|
|
# xtrabackup move back
|
|
|
|
# restart server
|
|
|
|
SELECT * FROM t;
|
|
|
|
i
|
|
|
|
1
|
|
|
|
2
|
|
|
|
DROP TABLE t;
|