Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-736

LP #1508448: --defaults-file requires datadir to be set.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by James Dooley last update 11-12-2015 01:48:43

      When using a default file with percona-xtrabackup.2.3.2-1.el5 datadir is complaining about being mismatched if it is not specifically set in the defaults file.

      innobackupex --defaults-file=/root/.my.cnf --no-timestamp --no-version-check /backup/mysql

      Error: option 'datadir' has different values:
      '.' in defaults file
      '/var/lib/mysql/' in SHOW VARIABLES

      If the datadir is specified in the .my.cnf file, backups work as intended.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: