~vlad-lesin/percona-xtrabackup/2.1-apply-archived-logs-innodb5.6

Viewing all changes in revision 672.

  • Committer: Vlad Lesin
  • Date: 2013-08-26 06:59:09 UTC
  • Revision ID: vladislav.lesin@percona.com-20130826065909-w7no2k2glbicbiuk
Apply archived logs.

The following options are used only with --prepare option:
--innodb-arch-log-dir - the path to archived logs directory
--to-archived-lsn - lsn to which logs should be applied

Metadata file contains lsn number to which log file was scanned during backup.
As part of log file that was copied during backup is not applied during
archived logs applying archived directory must contain log files the latest lsn
of whose is greater or equal to scanned lsn otherwise there will be error
message.

If min_flushed_lsn from data files is less than arhived logs start lsn the logs
will not be applied and xtrabackup will exit with error. Otherwise logs
applying will start with min_flushed_lsn.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: