--incremental-lsn without --incremental does not return an error.

Bug #1213778 reported by Martin Arrieta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Wishlist
Alexey Kopytov
2.1
Won't Fix
Undecided
Unassigned
2.2
Fix Released
Wishlist
Alexey Kopytov

Bug Description

If you use the --incremental-lsn and you don't use the --incremental flag, innobackupex will create a full backup instead the incremental.

For example:

# innobackupex --incremental-lsn=341006125 backups/

Possible fix would be:

# diff /usr/bin/innobackupex /usr/bin/innobackupex-fixed
2069a2070,2074
> if (!$option_incremental && ( $option_incremental_lsn || $option_incremental_basedir )) {
> print STDERR "--incremental-lsn and --incremental-basedir require the --incremental option.\n";
> exit(1);
> }
>

Regards,

Martin.

Related branches

tags: added: contribution low-hanging-fruit
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-1005

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.