Documentation explains wrongly what files compression affects

Bug #1239791 reported by Jaime Crespo
6
This bug affects 1 person
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://www.percona.com/doc/percona-xtrabackup/2.1/innobackupex/streaming_backups_innobackupex.html> it says:

"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/backups/backup.xbstream
[...]
# 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.

Tags: doc

Related branches

Revision history for this message
Alexey Kopytov (akopytov) wrote :

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.

tags: added: doc
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-668

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.