[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: |
|
||||||||
| 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. |
| Comments |
| Comment by Alice Sherepa [ 2021-02-22 ] |
|
Looks like |
| Comment by Elena Stepanova [ 2021-03-28 ] |
|
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. |