Documentation explains wrongly what files compression affects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Hrvoje Matijakovic | ||
2.0 |
Fix Released
|
Medium
|
Hrvoje Matijakovic | ||
2.1 |
Fix Released
|
Medium
|
Hrvoje Matijakovic | ||
2.2 |
Fix Released
|
Medium
|
Hrvoje Matijakovic |
Bug Description
Here <http://
"When compression is enabled, xtrabackup compresses all output data, including the transaction log file and meta data files, using the specified compression algorithm. The only currently supported algorithm is ‘quicklz’. The resulting files have the qpress archive format, i.e. every *.qp file produced by xtrabackup is essentially a one-file qpress archive and can be extracted and uncompressed"
Only Innodb tablespaces seem to be compressed (.ibd s and ibdata1), no metadata, no logs, no non-innodb files.
To reproduce:
// create a compressed backup:
# innobackupex --compress --stream=xbstream /tmp > /media/
[...]
# cd /media/backups
# xbstream -x < backup.xbstream -C .
# qpress -d xtrabackup_logfile .
qpress: Source file was not compressed with qpress
# qpress -d ibdata1.qp .
// <---- no error
# xtrabackup -v
xtrabackup version 2.1.5 for Percona Server 5.1.70 unknown-linux-gnu (x86_64) (revision id: 680)
# innobackupex --version .
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 22 lines (+3/-1)2 files modifieddoc/source/innobackupex/streaming_backups_innobackupex.rst (+1/-1)
doc/source/installation.rst (+2/-0)
- Alexey Kopytov (community): Approve
-
Diff: 25 lines (+4/-2)2 files modifieddoc/source/innobackupex/streaming_backups_innobackupex.rst (+2/-2)
doc/source/installation.rst (+2/-0)
- Alexey Kopytov (community): Approve
-
Diff: 25 lines (+4/-2)2 files modifiedstorage/innobase/xtrabackup/doc/source/innobackupex/streaming_backups_innobackupex.rst (+2/-2)
storage/innobase/xtrabackup/doc/source/installation.rst (+2/-0)
Yes, meta and non-InnoDB files are not compressed, so we should fix the docs to reflect that.
xtrabackup_logfile not being compressed is a separate issue that should be fixed, reported as bug #1242309.