Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24938

mariabackup --prepare raises "Can't open backup-my.cnf for reading"

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.3.25
    • N/A
    • Backup
    • Ubuntu 20

    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?

      Attachments

        Issue Links

          Activity

            alice Alice Sherepa added a comment -

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

            alice Alice Sherepa added a comment - Looks like MDEV-17960 . check that backup-my.cnf in your backup directory,..

            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.

            elenst Elena Stepanova added a comment - 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.

            People

              Unassigned Unassigned
              Red Rooster Mark Muzenhardt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.