Merge lp:~hrvojem/percona-xtrabackup/bug1066978-2.0 into lp:percona-xtrabackup/2.0

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 480
Proposed branch: lp:~hrvojem/percona-xtrabackup/bug1066978-2.0
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 374 lines (+121/-113)
7 files modified
BUILD.txt (+1/-1)
doc/source/innobackupex/innobackupex_option_reference.rst (+108/-100)
doc/source/installation/compiling_xtrabackup.rst (+4/-8)
doc/source/release-notes/2.0/2.0.3.rst (+1/-1)
doc/source/xtrabackup_bin/configuring.rst (+1/-1)
innobackupex (+5/-1)
utils/build.sh (+1/-1)
To merge this branch: bzr merge lp:~hrvojem/percona-xtrabackup/bug1066978-2.0
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+135199@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'BUILD.txt'
2--- BUILD.txt 2012-06-04 10:29:26 +0000
3+++ BUILD.txt 2012-11-20 17:03:20 +0000
4@@ -31,7 +31,7 @@
5 Value Alias Server
6 ================== ========= =============================================
7 innodb51_builtin 5.1 build against built-in InnoDB in MySQL 5.1
8- innodb51 plugin build agsinst InnoDB plugin in MySQL 5.1
9+ innodb51 plugin build against InnoDB plugin in MySQL 5.1
10 innodb55 5.5 build against InnoDB in MySQL 5.5
11 xtradb51 xtradb build against Percona Server with XtraDB 5.1
12 xtradb55 xtradb55 build against Percona Server with XtraDB 5.5
13
14=== modified file 'doc/source/innobackupex/innobackupex_option_reference.rst'
15--- doc/source/innobackupex/innobackupex_option_reference.rst 2012-09-21 12:32:30 +0000
16+++ doc/source/innobackupex/innobackupex_option_reference.rst 2012-11-20 17:03:20 +0000
17@@ -10,106 +10,65 @@
18 Options
19 =======
20
21-.. option:: --help
22-
23- This option displays a help screen and exits.
24-
25-.. option:: --version
26-
27- This option displays the |innobackupex| version and copyright notice and then exits.
28-
29 .. option:: --apply-log
30
31 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.
32
33-.. option:: --redo-only
34-
35- This option is passed directly to xtrabackup's :option:`xtrabackup --apply-log-only` option. This forces :program:`xtrabackup` to skip the "rollback" phase and do a "redo" only. This is necessary if the backup will have incremental changes applied to it later. See the |xtrabackup| :doc:`documentation <../xtrabackup_bin/incremental_backups>` for details.
36+.. option:: --compress
37+
38+ This option instructs xtrabackup to compress backup copies of InnoDB data files. It is passed directly to the xtrabackup child process. See the :program:`xtrabackup` :doc:`documentation <../xtrabackup_bin/xtrabackup_binary>` for details.
39+
40+.. option:: --compress-threads
41+
42+ This option specifies the number of worker threads that will be used for parallel compression. It is passed directly to the xtrabackup child process. See the :program:`xtrabackup` :doc:`documentation <../xtrabackup_bin/xtrabackup_binary>` for details.
43
44 .. option:: --copy-back
45
46 Copy all the files in a previously made backup from the backup directory to their original locations.
47
48-.. option:: --move-back
49-
50- Move all the files in a previously made backup from the backup directory to their original locations. As this option removes backup files, it must be used with caution.
51-
52-.. option:: --include=REGEXP
53-
54- This option is a regular expression to be matched against table names in ``databasename.tablename`` format. It is passed directly to :program:`xtrabackup` 's :option:`xtrabackup --tables` option. See the :program:`xtrabackup` documentation for details.
55+.. option:: --databases=LIST
56+
57+ This option specifies the list of databases that |innobackupex| should back up. The option accepts a string argument or path to file that contains the list of databases to back up. The list is of the form "databasename1[.table_name1] databasename2[.table_name2] . . .". If this option is not specified, all databases containing |MyISAM| and |InnoDB| tables will be backed up. Please make sure that --databases contains all of the |InnoDB| databases and tables, so that all of the innodb.frm files are also backed up. In case the list is very long, this can be specified in a file, and the full path of the file can be specified instead of the list. (See option --tables-file.)
58
59 .. option:: --defaults-file=[MY.CNF]
60
61 This option accepts a string argument that specifies what file to read the default MySQL options from. It is also passed directly to :program:`xtrabackup` 's defaults-file option. See the :program:`xtrabackup` :doc:`documentation <../xtrabackup_bin/xtrabackup_binary>` for details.
62
63-.. option:: --databases=LIST
64-
65- This option specifies the list of databases that |innobackupex| should back up. The option accepts a string argument or path to file that contains the list of databases to back up. The list is of the form "databasename1[.table_name1] databasename2[.table_name2] . . .". If this option is not specified, all databases containing |MyISAM| and |InnoDB| tables will be backed up. Please make sure that --databases contains all of the |InnoDB| databases and tables, so that all of the innodb.frm files are also backed up. In case the list is very long, this can be specified in a file, and the full path of the file can be specified instead of the list. (See option --tables-file.)
66-
67-.. option:: --tables-file
68-
69- This option accepts a string argument that specifies the file in which there are a list of names of the form ``database.table``, one per line. The option is passed directly to :program:`xtrabackup` 's :option:`--tables-file` option.
70-
71-.. option:: --throttle
72-
73- This option accepts an integer argument that specifies the number of I/O operations (i.e., pairs of read+write) per second. It is passed directly to xtrabackup's :option:`xtrabackup --throttle` option.
74+.. option:: --defaults-group=GROUP-NAME
75+
76+ This option accepts a string argument that specifies the group which should be read from the configuration file. This is needed if you use mysqld_multi.
77
78 .. option:: --export
79
80 This option is passed directly to :option:`xtrabackup --export` option. It enables exporting individual tables for import into another server. See the |xtrabackup| documentation for details.
81
82-.. option:: --use-memory
83-
84- This option accepts a string argument that specifies the amount of memory in bytes for :program:`xtrabackup` to use for crash recovery while preparing a backup. Multiples are supported providing the unit (e.g. 1MB, 1GB). It is used only with the option :option:`--apply-log`. It is passed directly to |xtrabackup| 's :option:`xtrabackup --use-memory` option. See the |xtrabackup| documentation for details.
85-
86-.. option:: --password=PASSWORD
87-
88- This option accepts a string argument specifying the password to use when connecting to the database. It is passed to the :command:`mysql` child process without alteration. See :command:`mysql --help` for details.
89-
90-.. option:: --user=USER
91-
92- This option accepts a string argument that specifies the user (i.e., the *MySQL* username used when connecting to the server) to login as, if that's not the current user. It is passed to the mysql child process without alteration. See :command:`mysql --help` for details.
93-
94-.. option:: --port=PORT
95-
96- This option accepts a string argument that specifies the port to use when connecting to the database server with TCP/IP. It is passed to the :command:`mysql` child process. It is passed to the :command:`mysql` child process without alteration. See :command:`mysql --help` for details.
97-
98-.. option:: --defaults-group
99-
100- This option accepts a string argument that specifies the group which should be read from the configuration file. This is needed if you use mysqld_multi.
101-
102-.. option:: --socket
103-
104- This option accepts a string argument that specifies the socket to use when connecting to the local database server with a UNIX domain socket. It is passed to the mysql child process without alteration. See :command:`mysql --help` for details.
105+.. option:: --extra-lsndir=DIRECTORY
106+
107+ This option accepts a string argument that specifies the directory in which to save an extra copy of the :file:`xtrabackup_checkpoints` file. It is passed directly to |xtrabackup|'s :option:`--extra-lsndir` option. See the :program:`xtrabackup` documentation for details.
108+
109+.. option:: --galera-info
110+
111+ This options creates the ``xtrabackup_galera_info`` file which contains the local node state at the time of the backup. Option should be used when performing the backup of Percona-XtraDB-Cluster.
112+
113+.. option:: --help
114+
115+ This option displays a help screen and exits.
116
117 .. option:: --host=HOST
118
119 This option accepts a string argument that specifies the host to use when connecting to the database server with TCP/IP. It is passed to the mysql child process without alteration. See :command:`mysql --help` for details.
120
121-.. option:: --no-timestamp
122-
123- 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.
124-
125-.. option:: --galera-info
126-
127- This options creates the ``xtrabackup_galera_info`` file which contains the local node state at the time of the backup. Option should be used when performing the backup of Percona-XtraDB-Cluster.
128-
129-.. option:: --slave-info
130-
131- This option is useful when backing up a replication slave server. It prints the binary log position and name of the master server. It also writes this information to the :file:`xtrabackup_slave_info` file as a ``CHANGE MASTER`` command. A new slave for this master can be set up by starting a slave server on this backup and issuing a ``CHANGE MASTER`` command with the binary log position saved in the :file:`xtrabackup_slave_info` file.
132-
133-.. option:: --no-lock
134-
135- 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.
136- 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 :option:`--no-lock`.
137-
138-.. option:: --ibbackup = 'autodetect'
139-
140- This option accepts a string argument that specifies which xtrabackup binary should be used. The string should be the command used to run *XtraBackup*. The option can be useful if the :program:`xtrabackup` binary is not in your search path or working directory and the database server is not accessible at the moment. If this option is not specified, :program:`innobackupex` attempts to determine the binary to use automatically. By default, :program:`xtrabackup` is the command used. When option :option:`--apply-log` is specified, the binary is used whose name is in the file :file:`xtrabackup_binary` in the backup directory, if that file exists, or will attempt to autodetect it. However, if :option:`--copy-back` or :option:`--move-back` is used, :program:`xtrabackup` is used unless other is specified.
141+.. option:: --ibbackup=IBBACKUP-BINARY
142+
143+ This option accepts a string argument that specifies which |xtrabackup| binary should be used. The string should be the command used to run *XtraBackup*. The option can be useful if the :program:`xtrabackup` binary is not in your search path or working directory and the database server is not accessible at the moment. If this option is not specified, :program:`innobackupex` attempts to determine the binary to use automatically. By default, :program:`xtrabackup` is the command used. When option :option:`--apply-log` is specified, the binary is used whose name is in the file :file:`xtrabackup_binary` in the backup directory, if that file exists, or will attempt to autodetect it. However, if :option:`--copy-back` or :option:`--move-back` is used, :program:`xtrabackup` is used unless other is specified.
144+
145+.. option:: --include=REGEXP
146+
147+ This option is a regular expression to be matched against table names in ``databasename.tablename`` format. It is passed directly to |xtrabackup|'s :option:`xtrabackup --tables` option. See the :program:`xtrabackup` documentation for details.
148
149 .. option:: --incremental
150
151- This option tells :program:`xtrabackup` to create an incremental backup, rather than a full one. It is passed to the :program:`xtrabackup` child process. When this option is specified, either :option:`--incremental-lsn` or :option:`--incremental-basedir` can also be given. If neither option is given, option :option:`--incremental-basedir` is passed to :program:`xtrabackup` by default, set to the first timestamped backup directory in the backup base directory.
152+ This option tells |xtrabackup| to create an incremental backup, rather than a full one. It is passed to the |xtrabackup| child process. When this option is specified, either :option:`--incremental-lsn` or :option:`--incremental-basedir` can also be given. If neither option is given, option :option:`--incremental-basedir` is passed to :program:`xtrabackup` by default, set to the first timestamped backup directory in the backup base directory.
153
154 .. option:: --incremental-basedir=DIRECTORY
155
156@@ -121,35 +80,44 @@
157
158 .. option:: --incremental-lsn
159
160- This option accepts a string argument that specifies the log sequence number (:term:`LSN`) to use for the incremental backup. It is used with the :option:`--incremental` option. It is used instead of specifying :option:`--incremental-basedir`. For databases created by *MySQL* and *Percona Server* 5.0-series versions, specify the as two 32-bit integers in high:low format. For databases created in 5.1 and later, specify the LSN as a single 64-bit integer.
161-
162-.. option:: --extra-lsndir=DIRECTORY
163-
164- This option accepts a string argument that specifies the directory in which to save an extra copy of the :file:`xtrabackup_checkpoints` file. It is passed directly to |xtrabackup|'s :option:`--extra-lsndir` option. See the :program:`xtrabackup` documentation for details.
165+ This option accepts a string argument that specifies the log sequence number (:term:`LSN`) to use for the incremental backup. It is used with the :option:`--incremental` option. It is used instead of specifying :option:`--incremental-basedir`. For databases created by *MySQL* and *Percona Server* 5.0-series versions, specify the as two 32-bit integers in high:low format. For databases created in 5.1 and later, specify the LSN as a single 64-bit integer.
166+
167+.. option:: --move-back
168+
169+ Move all the files in a previously made backup from the backup directory to their original locations. As this option removes backup files, it must be used with caution.
170+
171+.. option:: --no-lock
172+
173+ 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.
174+ 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 :option:`--no-lock`
175+
176+.. option:: --no-timestamp
177+
178+ 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.
179+
180+.. option:: --parallel=NUMBER-OF-THREADS
181+
182+ This option accepts an integer argument that specifies the number of threads the :program:`xtrabackup` child process should use to back up files concurrently. Note that this option works on file level, that is, if you have several .ibd files, they will be copied in parallel. If you have just single big .ibd file, it will have no effect. It is passed directly to xtrabackup's :option:`xtrabackup --parallel` option. See the :program:`xtrabackup` documentation for details
183+
184+.. option:: --password=PASSWORD
185+
186+ This option accepts a string argument specifying the password to use when connecting to the database. It is passed to the :command:`mysql` child process without alteration. See :command:`mysql --help` for details.
187+
188+.. option:: --port=PORT
189+
190+ This option accepts a string argument that specifies the port to use when connecting to the database server with TCP/IP. It is passed to the :command:`mysql` child process. It is passed to the :command:`mysql` child process without alteration. See :command:`mysql --help` for details.
191+
192+.. option:: --redo-only
193+
194+ This option is passed directly to xtrabackup's :option:`xtrabackup --apply-log-only` option. This forces :program:`xtrabackup` to skip the "rollback" phase and do a "redo" only. This is necessary if the backup will have incremental changes applied to it later. See the |xtrabackup| :doc:`documentation <../xtrabackup_bin/incremental_backups>` for details.
195
196 .. option:: --remote-host=HOSTNAME
197
198 This option accepts a string argument that specifies the remote host on which the backup files will be created, by using an ssh connection. This option is DEPRECATED and will be removed in Percona XtraBackup 2.1. In Percona XtraBackup 2.0 and later, you should use streaming backups instead.
199
200-.. option:: --stream=STREAMNAME
201-
202- This option accepts a string argument that specifies the format in which to do the streamed backup. The backup will be done to ``STDOUT`` in the specified format. Currently, supported formats are `tar` and `xbstream`. Uses :doc:`xbstream <../xbstream/xbstream>`, which is available in *XtraBackup* distributions. If you specify a path after this option, it will be interpreted as the value of :option:`tmpdir`.
203-
204-.. option:: --tmpdir=DIRECTORY
205-
206- This option accepts a string argument that specifies the location where a temporary file will be stored. It should be used when :option:`--remote-host` or :option:`--stream` is specified. For these options, the transaction log will first be stored to a temporary file, before streaming or copying to a remote host. This option specifies the location where that temporary file will be stored. If the option is not specifed, the default is to use the value of ``tmpdir`` read from the server configuration.
207-
208-.. option:: --scpopt = '-Cp -c arcfour'
209-
210- This option accepts a string argument that specifies the command line options to pass to :command:`scp` when the option :option:`--remost-host` is specified. If the option is not specified, the default options are ``-Cp -c arcfour``.
211-
212-.. option:: --sshopt
213-
214- This option accepts a string argument that specifies the command line options to pass to :command:`ssh` when the option :option:`--remost-host` is specified.
215-
216-.. option:: --parallel=NUMBER-OF-THREADS
217-
218- This option accepts an integer argument that specifies the number of threads the :program:`xtrabackup` child process should use to back up files concurrently. Note that this option works on file level, that is, if you have several .ibd files, they will be copied in parallel. If you have just single big .ibd file, it will have no effect. It is passed directly to xtrabackup's :option:`xtrabackup --parallel` option. See the :program:`xtrabackup` documentation for details.
219+.. option:: --rsync
220+
221+ Uses the :program:`rsync` utility to optimize local file transfers. When this option is specified, :program:`innobackupex` uses :program:`rsync` to copy all non-InnoDB files instead of spawning a separate :program:`cp` for each file, which can be much faster for servers with a large number of databases or tables. This option cannot be used together with :option:`--remote-host` or :option:`--stream`.
222
223 .. option:: --safe-slave-backup
224
225@@ -159,6 +127,46 @@
226
227 How many seconds :option:`--safe-slave-backup`` should wait for ``Slave_open_temp_tables`` to become zero. Defaults to 300 seconds.
228
229-.. option:: --rsync
230-
231- Use the :program:`rsync` utility to optimize local file transfers. When this option is specified, :program:`innobackupex` uses :program:`rsync` to copy all non-InnoDB files instead of spawning a separate :program:`cp` for each file, which can be much faster for servers with a large number of databases or tables. This option cannot be used together with :option:`--remote-host` or :option:`--stream`.
232+.. option:: --scpopt = SCP-OPTIONS
233+
234+ This option accepts a string argument that specifies the command line options to pass to :command:`scp` when the option :option:`--remost-host` is specified. If the option is not specified, the default options are ``-Cp -c arcfour``.
235+
236+.. option:: --sshopt = SSH-OPTIONS
237+
238+ This option accepts a string argument that specifies the command line options to pass to :command:`ssh` when the option :option:`--remost-host` is specified.
239+
240+.. option:: --slave-info
241+
242+ This option is useful when backing up a replication slave server. It prints the binary log position and name of the master server. It also writes this information to the :file:`xtrabackup_slave_info` file as a ``CHANGE MASTER`` command. A new slave for this master can be set up by starting a slave server on this backup and issuing a ``CHANGE MASTER`` command with the binary log position saved in the :file:`xtrabackup_slave_info` file.
243+
244+.. option:: --socket
245+
246+ This option accepts a string argument that specifies the socket to use when connecting to the local database server with a UNIX domain socket. It is passed to the mysql child process without alteration. See :command:`mysql --help` for details.
247+
248+.. option:: --stream=STREAMNAME
249+
250+ This option accepts a string argument that specifies the format in which to do the streamed backup. The backup will be done to ``STDOUT`` in the specified format. Currently, supported formats are `tar` and `xbstream`. Uses :doc:`xbstream <../xbstream/xbstream>`, which is available in *XtraBackup* distributions. If you specify a path after this option, it will be interpreted as the value of :option:`tmpdir`
251+
252+.. option:: --tables-file=FILE
253+
254+ This option accepts a string argument that specifies the file in which there are a list of names of the form ``database.table``, one per line. The option is passed directly to :program:`xtrabackup` 's :option:`--tables-file` option.
255+
256+.. option:: --throttle=IOS
257+
258+ This option accepts an integer argument that specifies the number of I/O operations (i.e., pairs of read+write) per second. It is passed directly to xtrabackup's :option:`xtrabackup --throttle` option.
259+
260+.. option:: --tmpdir=DIRECTORY
261+
262+ This option accepts a string argument that specifies the location where a temporary file will be stored. It should be used when :option:`--remote-host` or :option:`--stream` is specified. For these options, the transaction log will first be stored to a temporary file, before streaming or copying to a remote host. This option specifies the location where that temporary file will be stored. If the option is not specifed, the default is to use the value of ``tmpdir`` read from the server configuration.
263+
264+.. option:: --use-memory
265+
266+ This option accepts a string argument that specifies the amount of memory in bytes for :program:`xtrabackup` to use for crash recovery while preparing a backup. Multiples are supported providing the unit (e.g. 1MB, 1GB). It is used only with the option :option:`--apply-log`. It is passed directly to |xtrabackup| 's :option:`xtrabackup --use-memory` option. See the |xtrabackup| documentation for details.
267+
268+.. option:: --user=USER
269+
270+ This option accepts a string argument that specifies the user (i.e., the *MySQL* username used when connecting to the server) to login as, if that's not the current user. It is passed to the mysql child process without alteration. See :command:`mysql --help` for details.
271+
272+.. option:: --version
273+
274+ This option displays the |innobackupex| version and copyright notice and then exits.
275
276=== modified file 'doc/source/installation/compiling_xtrabackup.rst'
277--- doc/source/installation/compiling_xtrabackup.rst 2012-06-04 10:29:26 +0000
278+++ doc/source/installation/compiling_xtrabackup.rst 2012-11-20 17:03:20 +0000
279@@ -4,11 +4,7 @@
280
281 The source code is available from the *Launchpad* project `here <https://launchpad.net/percona-xtrabackup>`_. The easiest way to get the code is with :command:`bzr branch` of the desired release, such as the following: ::
282
283- bzr branch lp:percona-xtrabackup/1.6
284-
285-or ::
286-
287- bzr branch lp:percona-xtrabackup
288+ bzr branch lp:percona-xtrabackup/2.0
289
290 You should then have a directory named after the release you branched, such as ``percona-xtrabackup``.
291
292@@ -23,8 +19,8 @@
293
294 In Debian-based distributions, you need to: ::
295
296- $ apt-get install build-essential flex bison automake autoconf bzr \
297- libtool cmake libaio-dev mysql-client libncurses-dev zlib1g-dev
298+ $ apt-get install debhelper autotools-dev libaio-dev wget automake \
299+ libtool bison libncurses-dev libz-dev cmake bzr
300
301 In ``RPM``-based distributions, you need to: ::
302
303@@ -42,7 +38,7 @@
304 Value Alias Server
305 ================== ========= ============================================
306 innodb51_builtin 5.1 build against built-in InnoDB in MySQL 5.1
307- innodb51 plugin build agsinst InnoDB plugin in MySQL 5.1
308+ innodb51 plugin build against InnoDB plugin in MySQL 5.1
309 innodb55 5.5 build against InnoDB in MySQL 5.5
310 xtradb51 xtradb build against Percona Server with XtraDB 5.1
311 xtradb55 xtradb55 build against Percona Server with XtraDB 5.5
312
313=== modified file 'doc/source/release-notes/2.0/2.0.3.rst'
314--- doc/source/release-notes/2.0/2.0.3.rst 2012-09-21 12:32:30 +0000
315+++ doc/source/release-notes/2.0/2.0.3.rst 2012-11-20 17:03:20 +0000
316@@ -18,7 +18,7 @@
317
318 * |XtraBackup| 2.0.2 was not backwards compatible which caused incremental backups created with previous versions to fail on prepare. Bug fixed :bug:`1038127` (*Sergei Glushchenko*).
319
320- * Fix for bug :bug:`1022562` introduced a regression that may potentially lead to a 5x increase in disk space occupied by incremental backups. Bug fixed :bug:`1028949` (*Laurynas Biveinis*).
321+ * Fix for bug :bug:`1022562` introduced a regression that may potentially lead to a 5x increase in disk space occupied by incremental backups. Bug fixed :bug:`1043762` (*Laurynas Biveinis*).
322
323 * A regression was introduced in fix for bug :bug:`932623` which caused incorrect handling of compressed tablespaces with the page size of 16K, that were created between the last full or incremental and the next incremental backup. Bugs fixed :bug:`1049174` and :bug:`1044398` (*Laurynas Biveinis*).
324
325
326=== modified file 'doc/source/xtrabackup_bin/configuring.rst'
327--- doc/source/xtrabackup_bin/configuring.rst 2011-07-07 05:32:50 +0000
328+++ doc/source/xtrabackup_bin/configuring.rst 2012-11-20 17:03:20 +0000
329@@ -3,7 +3,7 @@
330
331 All of the |xtrabackup| configuration is done through options, which behave exactly like standard |MySQL| program options: they can be specified either at the command-line, or through a file such as :file:`/etc/my.cnf`.
332
333-The |xtrabackup| binary reads the ``[myslqd]`` and ``[xtrabackup]`` sections from any configuration files, in that order. That is so that it can read its options from your existing |MySQL| installation, such as the :term:`datadir` or some of the |InnoDB| options. If you want to override these, just specify them in the ``[xtrabackup]`` section, and because it is read later, it will take precedence.
334+The |xtrabackup| binary reads the ``[mysqld]`` and ``[xtrabackup]`` sections from any configuration files, in that order. That is so that it can read its options from your existing |MySQL| installation, such as the :term:`datadir` or some of the |InnoDB| options. If you want to override these, just specify them in the ``[xtrabackup]`` section, and because it is read later, it will take precedence.
335
336 You don't need to put any configuration in your :file:`my.cnf` if you don't want to. You can simply specify the options on the command-line. Normally, the only thing you might find convenient to place in the ``[xtrabackup]`` section of your :file:`my.cnf` file is the ``target_dir`` option to default the directory in which the backups will be placed, for example,
337
338
339=== modified file 'innobackupex'
340--- innobackupex 2012-11-19 03:29:30 +0000
341+++ innobackupex 2012-11-20 17:03:20 +0000
342@@ -2892,6 +2892,10 @@
343
344 This option is DEPRECATED and will be removed in Percona XtraBackup 2.1. In Percona XtraBackup 2.0 and later, you should use streaming backups instead. This option specifies the remote host on which the backup files will be created, by using an ssh connection. The option accepts a string argument.
345
346+=item --rsync
347+
348+Uses the rsync utility to optimize local file transfers. When this option is specified, innobackupex uses rsync to copy all non-InnoDB files instead of spawning a separate cp for each file, which can be much faster for servers with a large number of databases or tables. This option cannot be used together with --remote-host or --stream.
349+
350 =item --safe-slave-backup
351
352 Stop slave SQL thread and wait to start backup until Slave_open_temp_tables in "SHOW STATUS" is zero. If there are no open temporary tables, the backup will take place, otherwise the SQL thread will be started and stopped until there are no open temporary tables. The backup will fail if Slave_open_temp_tables does not become zero after --safe-slave-backup-timeout seconds. The slave SQL thread will be restarted when the backup finishes.
353@@ -2916,7 +2920,7 @@
354
355 This option specifies the socket to use when connecting to the local database server with a UNIX domain socket. The option accepts a string argument. It is passed to the mysql child process without alteration. See mysql --help for details.
356
357-=item --stream=[tar|. . .]
358+=item --stream=STREAMNAME
359
360 This option specifies the format in which to do the streamed backup. The option accepts a string argument. The backup will be done to STDOUT in the specified format. Currently, the only supported formats are tar and xbstream. This option is passed directly to xtrabackup's --stream option.
361
362
363=== modified file 'utils/build.sh'
364--- utils/build.sh 2012-07-04 05:43:37 +0000
365+++ utils/build.sh 2012-11-20 17:03:20 +0000
366@@ -45,7 +45,7 @@
367 echo "where CODEBASE can be one of the following values or aliases:"
368 echo " innodb50 | 5.0 build against innodb 5.1 builtin, but should be compatible with MySQL 5.0"
369 echo " innodb51_builtin | 5.1 build against built-in InnoDB in MySQL 5.1"
370- echo " innodb51 | plugin build agsinst InnoDB plugin in MySQL 5.1"
371+ echo " innodb51 | plugin build against InnoDB plugin in MySQL 5.1"
372 echo " innodb55 | 5.5 build against InnoDB in MySQL 5.5"
373 echo " xtradb51 | xtradb build against Percona Server with XtraDB 5.1"
374 echo " xtradb55 | xtradb55 build against Percona Server with XtraDB 5.5"

Subscribers

People subscribed via source and target branches