mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
1c55b845e0
Added support to BACKUP STAGE to maria-backup This is a port of the code from ES 10.6 See MDEV-5336 for backup stages description. The following old options are not supported by the new code: --rsync ; This is because rsync will not work on tables that are in used. --no-backup-locks ; This is disabled as mariadb-backup will always use backup locks for better performance.
9 lines
361 B
Text
9 lines
361 B
Text
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
|
|
let $extra_lsndir=$MYSQLTEST_VARDIR/tmp/extra_lsndir;
|
|
mkdir $extra_lsndir;
|
|
--disable_result_log
|
|
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir --extra-lsndir=$extra_lsndir;
|
|
--enable_result_log
|
|
list_files $extra_lsndir;
|
|
rmdir $extra_lsndir;
|
|
rmdir $targetdir;
|