Encrypted backups using --stream cannot be decrypted
Bug #1483450 reported by
Jeremy Tinley
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Invalid
|
High
|
Unassigned | |||
2.4 |
Invalid
|
High
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
I've completed an ecrypted backup using the following:
innobackupex --no-lock --parallel=8 --stream=xbstream --user=$USER --password=$PASS
--tmpdir=
-encrypt=AES256 --encrypt-
--port=3306 \
/var/
The process completes successfully.
Immediately after:
cat backup.xbstream | xbstream -xv
Produces the following:
xb_stream_
Removing --encrypt options generates a valid xbstream file.
tags: |
added: i64875-doc removed: doc |
To post a comment you must log in.
Hi,
You have to pass it through xbcrypt as the stream is encrypted.
cat backup.xbstream | xbcrypt --encrypt=AES256 --encryp- key-file= $VALID_ PATH --decrypt | xbstream -x -C /path/to/ destination