mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
b5615eff0d
Idea comes from MySQL which does something similar
13 lines
252 B
Text
13 lines
252 B
Text
CREATE TABLE t(a INT) ENGINE=InnoDB DATA DIRECTORY='table_data_dir';
|
|
INSERT INTO t VALUES(1);
|
|
# xtrabackup backup
|
|
# xtrabackup prepare
|
|
DROP TABLE t;
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
SELECT * FROM t;
|
|
a
|
|
1
|
|
DROP TABLE t;
|