mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
16 lines
256 B
Text
16 lines
256 B
Text
|
CREATE TABLE t(i INT) ENGINE INNODB;
|
||
|
INSERT INTO t VALUES(1);
|
||
|
# xtrabackup backup
|
||
|
INSERT INTO t VALUES(2);
|
||
|
# xtrabackup prepare
|
||
|
t.frm.qp
|
||
|
t.ibd.qp
|
||
|
# shutdown server
|
||
|
# remove datadir
|
||
|
# xtrabackup move back
|
||
|
# restart server
|
||
|
SELECT * FROM t;
|
||
|
i
|
||
|
1
|
||
|
DROP TABLE t;
|