mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
13 lines
259 B
Text
13 lines
259 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 server
|
|
SELECT * FROM t;
|
|
a
|
|
1
|
|
DROP TABLE t;
|