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

Documentation to include the additional permissions for backup user - Ref: PXB-1627

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0.4
    • Fix Version/s: 8.0.5
    • Component/s: Documentation
    • Labels:
      None

      Description

      The XtraBackup Documentation is not showing all user permissions necessary to execute the Xtrabackup 8.

      The documentation (https://www.percona.com/doc/percona-xtrabackup/8.0/using_xtrabackup/privileges.html) is showing the permissions below:

      mysql> CREATE USER 'bkpuser'@'localhost' IDENTIFIED BY 's3cret';
      mysql> GRANT RELOAD, LOCK TABLES, PROCESS, REPLICATION CLIENT ON *. TO 'bkpuser'@'localhost';
      mysql> FLUSH PRIVILEGES;

      Based on the Jira PXB-1627 (https://jira.percona.com/browse/PXB-1627), it should be:

      mysql> CREATE USER 'bkpuser'@'localhost' IDENTIFIED BY '<password>'; 
      mysql> GRANT BACKUP_ADMIN, PROCESS, RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.* TO 'bkpuser'@'localhost';
      mysql> GRANT SELECT ON performance_schema.log_status TO 'bkpuser'@'localhost';
      mysql> FLUSH PRIVILEGES;

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                borys.belinsky Borys Belinsky
                Reporter:
                jose.zechel Jose Zechel (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours
                  2h