Merge lp:~hrvojem/percona-xtrabackup/bug1281085-2.2 into lp:percona-xtrabackup/2.2

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Hrvoje Matijakovic
Approved revision: no longer in the source branch.
Merged at revision: 4952
Proposed branch: lp:~hrvojem/percona-xtrabackup/bug1281085-2.2
Merge into: lp:percona-xtrabackup/2.2
Diff against target: 47 lines (+7/-4)
3 files modified
storage/innobase/xtrabackup/doc/source/innobackupex/innobackupex_option_reference.rst (+3/-3)
storage/innobase/xtrabackup/doc/source/xtrabackup-files.rst (+2/-1)
storage/innobase/xtrabackup/doc/source/xtrabackup_bin/working_with_binary_logs.rst (+2/-0)
To merge this branch: bzr merge lp:~hrvojem/percona-xtrabackup/bug1281085-2.2
Reviewer Review Type Date Requested Status
Percona core Pending
Review via email: mp+211199@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'storage/innobase/xtrabackup/doc/source/innobackupex/innobackupex_option_reference.rst'
2--- storage/innobase/xtrabackup/doc/source/innobackupex/innobackupex_option_reference.rst 2013-12-06 13:31:43 +0000
3+++ storage/innobase/xtrabackup/doc/source/innobackupex/innobackupex_option_reference.rst 2014-03-16 09:24:48 +0000
4@@ -12,7 +12,7 @@
5
6 .. option:: --apply-log
7
8- Prepare a backup in ``BACKUP-DIR`` by applying the transaction log file named :file:`xtrabackup_logfile` located in the same directory. Also, create new transaction logs. The InnoDB configuration is read from the file :file:`backup-my.cnf` created by |innobackupex| when the backup was made.
9+ Prepare a backup in ``BACKUP-DIR`` by applying the transaction log file named :file:`xtrabackup_logfile` located in the same directory. Also, create new transaction logs. The InnoDB configuration is read from the file :file:`backup-my.cnf` created by |innobackupex| when the backup was made. innobackupex --apply-log uses InnoDB configuration from ``backup-my.cnf`` by default, or from --defaults-file, if specified. InnoDB configuration in this context means server variables that affect data format, i.e. :option:`innodb_page_size`, :option:`innodb_log_block_size`, etc. Location-related variables, like :option:`innodb_log_group_home_dir` or :option:`innodb_data_file_path` are always ignored by --apply-log, so preparing a backup always works with data files from the backup directory, rather than any external ones.
10
11 .. option:: --compact
12
13@@ -156,9 +156,9 @@
14
15 .. option:: --no-lock
16
17- Use this option to disable table lock with ``FLUSH TABLES WITH READ LOCK``. Use this option to disable table lock with ``FLUSH TABLES WITH READ LOCK``. Use it only if ALL your tables are InnoDB and you **DO NOT CARE** about the binary log position of the backup. This option shouldn't be used if there are any ``DDL`` statements being executed or if any updates are happening on non-InnoDB tables (this includes the system MyISAM tables in the *mysql* database), otherwise it could lead to an inconsistent backup.
18+ Use this option to disable table lock with ``FLUSH TABLES WITH READ LOCK``. Use it only if ALL your tables are InnoDB and you **DO NOT CARE** about the binary log position of the backup. This option shouldn't be used if there are any ``DDL`` statements being executed or if any updates are happening on non-InnoDB tables (this includes the system MyISAM tables in the *mysql* database), otherwise it could lead to an inconsistent backup.
19 If you are considering to use :option:`--no-lock` because your backups are failing to acquire the lock, this could be because of incoming replication events preventing the lock from succeeding. Please try using :option:`--safe-slave-backup` to momentarily stop the replication slave thread, this may help the backup to succeed and you then don't need to resort to using this option.
20-
21+ :file:`xtrabackup_binlog_info` is not created when --no-lock option is used (because ``SHOW MASTER STATUS`` may be inconsistent), but under certain conditions :file:`xtrabackup_binlog_pos_innodb` can be used instead to get consistent binlog coordinates as described in :ref:`working_with_binlogs`.
22 .. option:: --no-timestamp
23
24 This option prevents creation of a time-stamped subdirectory of the ``BACKUP-ROOT-DIR`` given on the command line. When it is specified, the backup is done in ``BACKUP-ROOT-DIR`` instead.
25
26=== modified file 'storage/innobase/xtrabackup/doc/source/xtrabackup-files.rst'
27--- storage/innobase/xtrabackup/doc/source/xtrabackup-files.rst 2013-08-30 09:55:04 +0000
28+++ storage/innobase/xtrabackup/doc/source/xtrabackup-files.rst 2014-03-16 09:24:48 +0000
29@@ -7,7 +7,8 @@
30 * Information related to the backup and the server
31
32 * :file:`backup-my.cnf`
33- This file contains information to start the mini instance of InnoDB during the :option:`--apply-log`. This is **NOT** a backup of original :file:`my.cnf`.
34+ This file contains information to start the mini instance of InnoDB during the :option:`--apply-log`. This is **NOT** a backup of original :file:`my.cnf`. The InnoDB configuration is read from the file :file:`backup-my.cnf` created by |innobackupex| when the backup was made. :option:`innobackupex --apply-log` uses InnoDB configuration from ``backup-my.cnf`` by default, or from :option:`innobackupex --defaults-file`, if specified. InnoDB configuration in this context means server variables that affect data format, i.e. :option:`innodb_page_size`, :option:`innodb_log_block_size`, etc. Location-related variables, like :option:`innodb_log_group_home_dir` or :option:`innodb_data_file_path` are always ignored by :option:`innobackupex --apply-log`, so preparing a backup always works with data files from the backup directory, rather than any external ones.
35+
36
37 * :file:`xtrabackup_checkpoints`
38 The type of the backup (e.g. full or incremental), its state (e.g. prepared) and the |LSN| range contained in it. This information is used for incremental backups.
39
40=== modified file 'storage/innobase/xtrabackup/doc/source/xtrabackup_bin/working_with_binary_logs.rst'
41--- storage/innobase/xtrabackup/doc/source/xtrabackup_bin/working_with_binary_logs.rst 2011-08-29 22:29:35 +0000
42+++ storage/innobase/xtrabackup/doc/source/xtrabackup_bin/working_with_binary_logs.rst 2014-03-16 09:24:48 +0000
43@@ -1,3 +1,5 @@
44+.. _working_with_binlogs:
45+
46 Working with Binary Logs
47 ========================
48

Subscribers

People subscribed via source and target branches