take an incremental backup based on a compressed backup

Bug #680936 reported by Kenny Gryp on 2010-11-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Vadim Tkachenko

Bug Description

When taking a compressed backup, the xtrabackup_checkpoints file is sent into the tar stream.

You cannot just make an incremental backup without taking the checkpoint information out of the compressed file or out of the innobackupex-1.5.1 logfile

Attached, you can find a basic patch in innobackupex-1.5.1 that copies the xtrabackup_checkpoints file to $backup_dir/ before removing it, making it possible to use --incremental-basedir=

Related branches

Kenny Gryp (gryp) wrote :
Kenny Gryp (gryp) wrote :

Another way is to use --extra-lsndir of xtrabackup, something like this --ibbackup="xtrabackup --extra-lsndir=__backupdir__"

Vadim Tkachenko (vadim-tk) wrote :


You had fix for it, was not it merged ?

Changed in percona-xtrabackup:
assignee: nobody → Xaprb (baron-xaprb)

I patched xtrabackup.c to add --extra-lsn-dir, but I did not change

Vadim Tkachenko (vadim-tk) wrote :

I added option --extra-lsndir to innobackupex script

Vadim Tkachenko (vadim-tk) wrote :

Assigned to Valentine to provide test for new added option --extra-lsndir

Changed in percona-xtrabackup:
assignee: Xaprb (baron-xaprb) → Valentine Gostev (core-longbow)
importance: Undecided → Medium
milestone: none → 1.6
Valentine Gostev (longbow) wrote :

Added test case for --extra-lsndir

Changed in percona-xtrabackup:
status: New → Fix Committed
Changed in percona-xtrabackup:
milestone: 1.6 → 1.7
Stewart Smith (stewart) wrote :

what's the status of this bug?

Alexey Kopytov (akopytov) wrote :

The --extra-lsndir option is in innobackup, so setting to Fix Released. Moved the test case part to a separate bug #805819.

Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
Changed in percona-xtrabackup:
assignee: Valentine Gostev (longbow) → Vadim Tkachenko (vadim-tk)

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

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

Other bug subscribers