2018-08-16 16:10:18 +03:00
|
|
|
--source include/have_debug.inc
|
|
|
|
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
|
|
|
|
mkdir $targetdir;
|
|
|
|
|
|
|
|
CREATE TABLE t1 ENGINE=InnoDB SELECT 1;
|
|
|
|
|
|
|
|
--let after_load_tablespaces=TRUNCATE test.t1
|
|
|
|
|
|
|
|
--disable_result_log
|
2023-12-03 14:09:43 +02:00
|
|
|
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir --dbug=+d,mariabackup_events;
|
2018-08-16 16:10:18 +03:00
|
|
|
--enable_result_log
|
|
|
|
|
|
|
|
--let after_load_tablespaces=
|
|
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
|
SET GLOBAL innodb_log_checkpoint_now=1;
|
|
|
|
SET GLOBAL innodb_log_checkpoint_now=DEFAULT;
|
|
|
|
rmdir $targetdir;
|