MDEV-32361 mariadb-backup --move-back leaves out ib_logfile0
copy_back(): Also copy the dummy empty ib_logfile0 so that MariaDB Server 10.8 or later can be started after --copy-back or --move-back. Thanks to Daniel Black for reporting this.
This commit is contained in:
parent
a34b989f0c
commit
ebf3649259
@ -1984,8 +1984,10 @@ copy_back()
|
||||
dst_dir, i);
|
||||
unlink(filename);
|
||||
}
|
||||
} else if (!(ret = copy_or_move_file(ds_tmp, "ib_logfile0", "ib_logfile0",
|
||||
dst_dir, 1))) {
|
||||
}
|
||||
|
||||
if (!(ret = copy_or_move_file(ds_tmp, "ib_logfile0", "ib_logfile0",
|
||||
dst_dir, 1))) {
|
||||
goto cleanup;
|
||||
}
|
||||
ds_destroy(ds_tmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user