| 1 |
set global innodb_fast_shutdown=0; |
| 2 |
# restart: --innodb_undo_tablespaces=2 |
| 3 |
CREATE TABLE t1(a varchar(60)) ENGINE INNODB; |
| 4 |
start transaction; |
| 5 |
INSERT INTO t1 VALUES(1); |
| 6 |
# xtrabackup backup |
| 7 |
# Restart the server with 4 undo tablespaces |
| 8 |
set global innodb_fast_shutdown=0; |
| 9 |
# restart: --innodb_undo_tablespaces=4 |
| 10 |
# incremental backup should fail |
| 11 |
FOUND 1 /--incremental backup is impossible if the server had been restarted with different innodb_undo_tablespaces/ in backup.log |
| 12 |
# Take full backup again |
| 13 |
# Prepare full backup |
| 14 |
# Display 4 undo log files from target directory |
| 15 |
undo001 |
| 16 |
undo002 |
| 17 |
undo003 |
| 18 |
undo004 |
| 19 |
DROP TABLE t1; |