~gl-az/percona-xtrabackup/2.1-bug1007446

« back to all changes in this revision

Viewing changes to innobackupex

  • Committer: Hrvoje Matijakovic
  • Date: 2012-11-22 11:18:24 UTC
  • mfrom: (454.1.1 bug1066978-2.1-t2)
  • Revision ID: hrvoje.matijakovic@percona.com-20121122111824-wa1ctelecbxiivp7
MergedĀ lp:~hrvojem/percona-xtrabackup/bug1066978-2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2769
2769
 
2770
2770
This option is passed directly to xtrabackup's --apply-log-only option. This forces 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 documentation for details. 
2771
2771
 
 
2772
=item --rsync
 
2773
 
 
2774
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 --stream.
 
2775
 
2772
2776
=item --safe-slave-backup
2773
2777
 
2774
2778
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.
2785
2789
 
2786
2790
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.
2787
2791
 
2788
 
=item --stream=[tar|. . .]
 
2792
=item --stream=STREAMNAME
2789
2793
 
2790
2794
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.
2791
2795
 
2799
2803
 
2800
2804
=item --tmpdir=DIRECTORY
2801
2805
 
2802
 
This option specifies the location where a temporary file will be stored.  The option accepts a string argument. It should be used when --stream is specified. For these options, the transaction log will first be stored to a temporary file, before streaming. 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.
 
2806
This option specifies the location where a temporary file will be stored.  The option accepts a string argument. It should be used when --stream is specified. For these options, the transaction log will first be stored to a temporary file, before streaming. This option specifies the location where that temporary file will be stored. If the option is not specified, the default is to use the value of tmpdir read from the server configuration.
2803
2807
 
2804
2808
=item --use-memory=B
2805
2809