[MDEV-24938] mariabackup --prepare raises "Can't open backup-my.cnf for reading" Created: 2021-02-22  Updated: 2021-04-25  Resolved: 2021-04-25

Status: Closed
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.3.25
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Mark Muzenhardt Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: need_feedback
Environment:

Ubuntu 20


Issue Links:
Duplicate
duplicates MDEV-17960 'mariabackup --prepare': Cannot confi... Closed

 Description   

Everytime I want to prepare a backup and give "mariabackup --prepare" then "Can't open backup-my.cnf for reading" appears. I tried chmod 777 on my directory, as well as chown mysql:mysql and nothing works.
The backup-my.cnf is clearly there, so am I missing something or is this a bug?



 Comments   
Comment by Alice Sherepa [ 2021-02-22 ]

Looks like MDEV-17960. check that backup-my.cnf in your backup directory,..

Comment by Elena Stepanova [ 2021-03-28 ]

Red Rooster,

You said that you tried chmod "on your directory" and that backup-my.cnf "is there", but what do you mean by "your directory"? As Alice said above, the file must be in the backup directory (the one that you run --prepare on) – not in your home directory, or in usual cnf locations, or in the datadir.

Generated at Thu Feb 08 09:33:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.