Support encrypted redo logs

Description

There are no user facing changes. Here is the copy of commit message:

PXB-1626: Support encrypted redo and undo logs

This patch adds support for encrypted redo and undo logs.

Since redo and undo logs are just a special case of InnoDB
tablespaces, changes needed to support them are minimal:

  • xtrabackup now recognises `--innodb_redo_log_encrypt' and
    `innodb_undo_log_encrypt' server variables. Values of these
    variables are saved to `backup-my.cnf' and used for prepare.

  • instead of using a keyring plugin for the case when
    `--transition-key' is specified, xtrabackup will look for
    encryption key in the `xtrabackup_keys' file.

  • since encrypted redo log is decrypted by `recv_read_log_seg',
    xtrabackup will encrypt it before writing to `xtrabackup_logfile'.

 

Environment

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Time tracking

4d logged

Fix versions

Priority

Smart Checklist

Created August 21, 2018 at 12:37 PM
Updated March 6, 2024 at 7:27 PM
Resolved September 4, 2018 at 8:16 AM