Compressed/Uncompressed incremental backup fails on compressed full backup in Xtrabackup 2.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Critical
|
Alexey Kopytov | ||
2.0 |
Fix Released
|
Critical
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
Critical
|
Alexey Kopytov |
Bug Description
After creating a full compressed backup, performing a compressed/
innobackupex --user=backup --password=backup --slave-info --compress /backups/
---
innobackupex --incremental /backups/
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona Inc 2009-2012. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
120410 00:44:47 innobackupex: Starting mysql with options: --password=xxxxxxxx --user='backup' --unbuffered --
120410 00:44:47 innobackupex: Connected to database with mysql child process (pid=2118)
120410 00:44:53 innobackupex: Connection to database server closed
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex: Using mysql Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using readline 5.1
innobackupex: Using mysql server version Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
innobackupex: Created backup directory /backups/
120410 00:44:53 innobackupex: Starting mysql with options: --password=xxxxxxxx --user='backup' --unbuffered --
120410 00:44:53 innobackupex: Connected to database with mysql child process (pid=2142)
120410 00:44:55 innobackupex: Connection to database server closed
120410 00:44:55 innobackupex: Starting ibbackup with command: xtrabackup_51 --backup --suspend-at-end --target-
innobackupex: Waiting for ibbackup (pid=2149) to suspend
innobackupex: Suspend file '/backups/
xtrabackup: Error: cannot open /backups/
xtrabackup: error: failed to read metadata from /backups/
innobackupex: Error: ibbackup child process has died at /usr/bin/
Related branches
- Stewart Smith (community): Approve
-
Diff: 88 lines (+45/-4)4 files modifiedsrc/compress.c (+11/-0)
src/compress.h (+3/-0)
src/xtrabackup.c (+9/-4)
test/t/bug977652.sh (+22/-0)
- Stewart Smith (community): Approve
-
Diff: 85 lines (+40/-19)2 files modifiedsrc/xtrabackup.c (+18/-19)
test/t/bug977652.sh (+22/-0)
To add, xtrabackup_ checkpoints. qp is stored in full backup directory and not xtrabackup_ checkpoints which is what the incremental backup script is looking for.