using the wrong xtrabackup binary for incremental backups could give a better error

Bug #788316 reported by Kenny Gryp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Low
Alexey Kopytov
2.0
Won't Fix
Low
Unassigned
2.1
Won't Fix
Low
Unassigned
2.2
Fix Released
Low
Alexey Kopytov

Bug Description

when taking an incremental backup with the wrong xtrabackup binary, you can get:

xtrabackup_checkpoints contents:
backup_type = full-backuped
from_lsn = 0:0
to_lsn = 186:2154619219
last_lsn = 186:2183096018

This person tried to run 'xtrabackup --backup --increment...' instead of 'xtrabackup_51 --backu...' and got this error:
xtrabackup: error: failed to read metadata from /root/db_backup/2011-05-25_12-45-00/xtrabackup_checkpoints

This is a xtrabackup_checkpoints file created with xtrabackup_51 (probably invoked through innobackupex which makes it more confusing) and does not work with 'xtrabackup'.

It would be better if the error displayed would also mention to use the correct xtrabackup binary.
I had several questions on freenode#percona related to this.

related doc: http://www.percona.com/docs/wiki/percona-xtrabackup:xtrabackup:start

Related branches

Changed in percona-xtrabackup:
importance: Undecided → Wishlist
status: New → Opinion
assignee: nobody → Valentine Gostev (longbow)
Changed in percona-xtrabackup:
status: Opinion → New
Changed in percona-xtrabackup:
importance: Wishlist → Low
status: New → Confirmed
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Confirmed → Triaged
assignee: Valentine Gostev (longbow) → nobody
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-77

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.