mirror of
https://github.com/MariaDB/server.git
synced 2025-02-14 09:25:35 +01:00
![Alexander Barkov](/assets/img/avatar_default.png)
1. "mariabackup --innobackupex" now prints a new warning: '--innobackupex' is deprecated and will be removed in a future release 2. "mariabackup --innobackupex" does not print this wrong warning any more: --innobackupex: Deprecated program name. It will be removed in a future release, use '/path/to/mariadb-backup' instead
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
CREATE TABLE t(i INT) ENGINE INNODB;
|
|
INSERT INTO t VALUES(1);
|
|
# "innodb_force_recovery=1" should be allowed with "--prepare" only (mariabackup)
|
|
FOUND 1 /should only be used with "--prepare"/ in backup.log
|
|
# "innodb_force_recovery=1" should be allowed with "--apply-log" only (innobackupex)
|
|
FOUND 1 /should only be used with "--apply-log"/ in backup.log
|
|
# "innodb_force_recovery" should be limited to "SRV_FORCE_IGNORE_CORRUPT" (mariabackup)
|
|
FOUND 1 /innodb_force_recovery = 1/ in backup.log
|
|
# "innodb_force_recovery" should be limited to "SRV_FORCE_IGNORE_CORRUPT" (innobackupex)
|
|
FOUND 1 /innodb_force_recovery = 1/ in backup.log
|
|
#
|
|
# This fragment was added for MDEV-31505 Deprecate mariabackup --innobackupex mode
|
|
#
|
|
NOT FOUND /Deprecated program name/ in backup.log
|
|
FOUND 1 /[-][-]innobackupex.*is deprecated and will be removed in a future release/ in backup.log
|
|
#
|
|
# End of the MDEV-31505 fragment
|
|
#
|
|
# "innodb_force_recovery" should be read from "backup-my.cnf" (mariabackup)
|
|
FOUND 1 /innodb_force_recovery = 1/ in backup.log
|
|
# "innodb_force_recovery=1" should be read from "backup-my.cnf" (innobackupex)
|
|
FOUND 1 /innodb_force_recovery = 1/ in backup.log
|
|
# "innodb_force_recovery" from the command line should override "backup-my.cnf" (mariabackup)
|
|
NOT FOUND /innodb_force_recovery = 1/ in backup.log
|
|
# "innodb_force_recovery" from the command line should override "backup-my.cnf" (innobackupex)
|
|
NOT FOUND /innodb_force_recovery = 1/ in backup.log
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
SELECT * FROM t;
|
|
i
|
|
1
|
|
DROP TABLE t;
|