mirror of
https://github.com/MariaDB/server.git
synced 2025-10-24 16:38:14 +02:00
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.
11 lines
448 B
PHP
11 lines
448 B
PHP
#
|
|
# 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
|