summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/mariabackup/full_backup_win.test
blob: 5a1d1c380267c13185ea432bd60dddc8a39d1126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--source include/windows.inc

let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;

--echo #
--echo # MDEV-30492 Crash when use mariabackup.exe with config 'innodb_flush_method=async_unbuffered'
--echo #

echo # xtrabackup backup;
--disable_result_log
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --innodb_flush_method=normal --backup --target-dir=$targetdir;
--enable_result_log

echo # xtrabackup prepare;
--disable_result_log
exec $XTRABACKUP  --prepare --innodb-flush-method=async_unbuffered --target-dir=$targetdir;
-- source include/restart_and_restore.inc
--enable_result_log

rmdir $targetdir;

--echo #
--echo # End of 10.4 tests
--echo #