missing --redo-only in docs for preparing an incremental backup with innobackupex
Bug #919203 reported by
Alexey Kopytov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Undecided
|
Hrvoje Matijakovic |
Bug Description
"
Then, the first incremental backup can be applied to the base backup, by issuing:
innobackupex --apply-log BASE-DIR --incremental-
"
However, that command should have the --redo-only option is well, as it's required to apply an incremental backup, and the corresponding xtrabackup option (--apply-log-only) is mentioned in the xtrabackup binary docs: http://
Related branches
lp:~hrvojem/percona-xtrabackup/bug919203
- Alexey Kopytov (community): Approve
-
Diff: 23 lines (+2/-2)2 files modifieddoc/source/faq.rst (+1/-1)
doc/source/innobackupex/incremental_backups_innobackupex.rst (+1/-1)
tags: | added: doc |
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
assignee: | nobody → Hrvoje Matijakovic (hrvojem) |
description: | updated |
Changed in percona-xtrabackup: | |
status: | Confirmed → In Progress |
Changed in percona-xtrabackup: | |
status: | In Progress → Fix Committed |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
How about the second incremental backup (and any subsequent)? Doesn't it also need a "--redo-only"?
Currently, the "--redo-only" is missing from the command line suggested for applying subsequent backups ("incremental_ backups_ innobackupex. html"):
"Repeat the procedure with the second one:
innobackupex --apply-log BASE-DIR --incremental- dir=INCREMENTAL -DIR-2
If the “completed OK!” message was shown, the final data will be in the base backup directory, BASE-DIR.
You can use this procedure to add more increments to the base, as long as you do it in the chronological order that the backups were done. If you omit this order, the backup will be useless. If you have doubts about the order that they must be applied, you can check the file xtrabackup_ checkpoints at the directory of each one, as shown in the beginning of this section."
I would have thought this this was the full procedure for preparing a backup from a full and several incremental backups:
innobackupex --apply-log --redo-only BASE-DIR dir=INCREMENTAL -DIR-1 dir=INCREMENTAL -DIR-2 dir=INCREMENTAL -DIR-x
innobackupex --apply-log --redo-only BASE-DIR --incremental-
innobackupex --apply-log --redo-only BASE-DIR --incremental-
...
innobackupex --apply-log --redo-only BASE-DIR --incremental-
innobackupex --apply-log BASE-DIR"
Is this true? Then "incremental_ backups_ innobackupex. html" should be changed accordingly.