[MDEV-19347] Mariabackup does not honor ignore_db_dirs from server config. Created: 2019-04-26  Updated: 2020-08-25  Resolved: 2020-04-21

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Affects Version/s: 10.1, 10.3
Fix Version/s: 10.2.32, 10.3.23, 10.4.13, 10.5.3

Type: Bug Priority: Critical
Reporter: Kyle Joiner (Inactive) Assignee: Vladislav Lesin
Resolution: Fixed Votes: 1
Labels: None


 Description   

The mariabackup fails when there is a directory that should be ignored from ignore_db_dirs.

2019-04-26 13:44:59 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2019-04-26 13:44:59 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
[00] 2019-04-26 13:44:59 merror: xb_load_tablespaces() failed with error Generic error.

When changing permissions so the process can read the directory it works correctly.

Please honor ignore_db_dirs from the server configuration file.



 Comments   
Comment by Vladislav Lesin [ 2020-03-30 ]

Why don't use https://mariadb.com/kb/en/mariabackup-options/#-databases-exclude option as workaround?

Generated at Thu Feb 08 08:50:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.