take an incremental backup based on a compressed backup

Bug #680936 reported by Kenny Gryp
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
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

Revision history for this message
Kenny Gryp (gryp) wrote :
Revision history for this message
Kenny Gryp (gryp) wrote :

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

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :

Baron,

You had fix for it, was not it merged ?

Changed in percona-xtrabackup:
assignee: nobody → Xaprb (baron-xaprb)
Revision history for this message
Baron Schwartz (baron-xaprb) wrote : Re: [Bug 680936] Re: take an incremental backup based on a compressed backup

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

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote :

I added option --extra-lsndir to innobackupex script

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Stewart Smith (stewart) wrote :

what's the status of this bug?

Revision history for this message
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)
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-548

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.