mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-32932 Port backup features from ES
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.
This commit is contained in:
11
mysql-test/include/aria_log_control_load.inc
Normal file
11
mysql-test/include/aria_log_control_load.inc
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# This file loads aria_log_control file into a user variable @aria_log_control.
|
||||
# Set $ARIA_DATADIR before including this file
|
||||
#
|
||||
|
||||
--disable_query_log
|
||||
--copy_file $ARIA_DATADIR/aria_log_control $MYSQLTEST_VARDIR/aria_log_control_tmp
|
||||
--chmod 0777 $MYSQLTEST_VARDIR/aria_log_control_tmp
|
||||
--eval SET @aria_log_control=(SELECT LOAD_FILE('$MYSQLTEST_VARDIR/aria_log_control_tmp'))
|
||||
--remove_file $MYSQLTEST_VARDIR/aria_log_control_tmp
|
||||
--enable_query_log
|
Reference in New Issue
Block a user