Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.6.20
-
None
-
None
Description
We run a fully automated restore test that uses mariabackup for restoration. With the export option specified, *.cfg files should be generated. This works fine with version 10.6.19. However, starting with version 10.6.20, our restore tests are failing due to missing *.cfg files. Indeed, the *.cfg files are no longer generated in version 10.6.20.
Attached, you’ll find the restore logs and the output of the database directory, listing some tables. The backup files and restore process are identical for both test runs; the only difference is the switch in MariaDB versions.
Parts of our restore script used:
echo "Preparing full backup..." |
|
/usr/bin/mariabackup --prepare --export --target-dir $RESTORE_TMP_PATH
|
|
if [ -n "$INCREMENTAL_DIR" ]; then |
echo "Extracting incremental backup..." |
|
mkdir $RESTORE_TMP_PATH/$INCREMENTAL_DIR
|
gunzip -c $INCREMENTAL_DIR.gz | mbstream -x -C $RESTORE_TMP_PATH/$INCREMENTAL_DIR
|
|
echo "Preparing incremental backup..." |
|
/usr/bin/mariabackup --prepare --export --target-dir $RESTORE_TMP_PATH --incremental-dir $RESTORE_TMP_PATH/$INCREMENTAL_DIR/
|
fi
|
|