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

mariabackup creates binlog files in server binlog directory on --prepare --export step

    Details

      Description

      If mariabackup is executed with the following options:

      mariabackup --defaults-file=path_to/my.cnf --prepare --export --target-dir=$targetdir;
      

      and "path_to/my.cnf" switches on binary logs, then it will create binary logs in the directory, pointed out in "log-bin" option. If "path_to/my.cnf" is also used by the server, such behaviour can cause issues.

      The general issue is if "-export" mariabackup option is used, mariabackup starts the server in bootstrap mode to generate *.cfg files for the certain innodb tables. The started instance of the server reads options from the file, pointed out in "-defaults-file" mariabackup option.

        Attachments

          Activity

            People

            • Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              vlad.lesin Vladislav Lesin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: