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

PXB wrote a new master key to standard error output

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 8.0.10, 2.4.19
    • 2.4.20, 8.0.11
    • None

    Description

      PS8.0.19-10 is running with keyring_file encryption.

      Take an incremental backup using transition-key.

      Restore the backup using generate-new-master-key

      ./xtrabackup --copy-back --target-dir=$HOME/dbbackup_PS8/full --datadir=$HOME/PS130320_8_0_19_10_debug/data --keyring_file_data=$HOME/PS130320_8_0_19_10_debug/keyring --xtrabackup-plugin-dir=$HOME/pxb_8_0_11_debug/lib/plugin --transition-key=secret_key --generate-new-master-key --early-plugin-load=keyring_file.so

      Issue: PXB prints the new master key in the standard error output. The same can be captured in a log:

      200408 08:33:38 Generated new master key with ID '937c0320-7962-11ea-bc87-002590e9b448-3'.

      Attachments

        Activity

          People

            rahul.malik Rahul Malik (Inactive)
            manish.chawla Manish Chawla
            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

                Smart Checklist