[MDEV-18438] mbstream Recreates xtrabackup_info On Same Directory as Backup File Created: 2019-01-31 Updated: 2020-08-25 Resolved: 2019-09-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.2.21 |
| Fix Version/s: | 10.2.28 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jervin R | Assignee: | Vladislav Lesin |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Environment: |
CentOS 7.x |
||
| Description |
|
Backup is created with the command below:
It creates this file:
While trying to extract the data to another folder, it works the first time but not on the second because it also extracted a copy of xtrabackup_info on the same folder where the xbs file is.
This is minor since we can just make sure to remove that file, but the purpose of -C is to not write anything on any other folder except the one specified. |
| Comments |
| Comment by Bharathkumar [ 2019-05-03 ] | |||||
|
Facing same issue with my backup and restore software, which use mariabackup packaged with 10.3.10-MariaDb. | |||||
| Comment by Robert Bindar [ 2019-09-23 ] | |||||
|
Fixed for 10.2 in https://github.com/MariaDB/server/commit/c0db3fe6dabd2cb0df9bf532f54f9e8d233fa499 | |||||
| Comment by Matej Žerovnik [ 2020-06-11 ] | |||||
|
I'm not sure if I should comment here or open a new bug. But since it's the same bug, it might be OK. I'm getting the same error with MariaDB 10.3.17 (mariadb-10.3.17-1.module_el8.1.0+257+48736ea6.x86_64) on CentOS 8. Should this be fixed on 10.3?
/opt/mariabackup/base/2020-06-09_03-00-01/ is the target backup folder in backup server. | |||||
| Comment by Robert Bindar [ 2020-06-11 ] | |||||
|
Hi matejzero, thanks for taking the time to report this issue! | |||||
| Comment by Matej Žerovnik [ 2020-06-11 ] | |||||
|
It seems like I can't tag you. New issue is opened under https://jira.mariadb.org/browse/MDEV-22872. |