mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -14,7 +14,7 @@ PARTITION BY RANGE (i)
|
||||
PARTITION p3 VALUES LESS THAN (400) DATA DIRECTORY = '$MYSQLTEST_VARDIR/partitdata',
|
||||
PARTITION p4 VALUES LESS THAN MAXVALUE);
|
||||
INSERT INTO t VALUES (1), (101), (201), (301), (401);
|
||||
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir;
|
||||
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir;
|
||||
exec $XTRABACKUP --prepare --target-dir=$targetdir;
|
||||
DROP TABLE t;
|
||||
rmdir $MYSQLTEST_VARDIR/partitdata;
|
||||
|
Reference in New Issue
Block a user