[MDEV-11116] Xtrabackup doesn't work for Data Encryption at Rest in any configuration Created: 2016-10-23 Updated: 2016-10-23 Resolved: 2016-10-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Encryption, Scripts & Clients, Storage Engine - InnoDB |
| Affects Version/s: | 10.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerie Parham-Thompson | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This may be just a documentation bug. Via https://mariadb.com/kb/en/mariadb/data-at-rest-encryption/: "Percona XtraBackup cannot back up instances that use encrypted InnoDB log files." In my testing, even when only encrypting the tables (not the log files) Xtrabackup will report that the files are corrupted. Have you been able to show Xtrabackup working with any encrypted (not log) files? Here are some details:
And the backup output:
This is a fresh testing instance, xtrabackup works before enabling innodb_encrypt_tables and fails consistently after enabling that and inserting a single row. Again, I think this is as intended, but wanted to confirm based on wording in documentation. Thank you in advance for looking. |
| Comments |
| Comment by Vladislav Vaintroub [ 2016-10-23 ] |
|
Fixed documentation. Percona Xtrabackup does not understand our encryption, this is accurate. |
| Comment by Valerie Parham-Thompson [ 2016-10-23 ] |
|
Thank you for the confirmation and the edit, Vladislav! |