mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
15 lines
312 B
Text
15 lines
312 B
Text
CREATE TABLE t1(i INT PRIMARY KEY auto_increment, a int) ENGINE INNODB;
|
|
INSERT INTO t1(a) SELECT * from seq_1_to_10000;
|
|
# xtrabackup backup
|
|
t1.frm
|
|
t1.ibd
|
|
t1.new
|
|
# xtrabackup prepare
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart server
|
|
SELECT COUNT(*) from t1;
|
|
COUNT(*)
|
|
10000
|
|
DROP TABLE t1;
|