@@ -216,7 +216,7 @@ ibx_mode_t ibx_mode = IBX_MODE_BACKUP;
216
216
217
217
static struct my_option ibx_long_options[] =
218
218
{
219
- {" version" , ' v' , " print xtrabackup version information" ,
219
+ {" version" , ' v' , " print version information" ,
220
220
(uchar *) &opt_ibx_version, (uchar *) &opt_ibx_version, 0 ,
221
221
GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
222
222
@@ -259,12 +259,11 @@ static struct my_option ibx_long_options[] =
259
259
(uchar *) &opt_ibx_slave_info, (uchar *) &opt_ibx_slave_info, 0 ,
260
260
GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
261
261
262
- {" incremental" , OPT_INCREMENTAL, " This option tells xtrabackup to "
263
- " create an incremental backup, rather than a full one. It is passed "
264
- " to the xtrabackup child process. When this option is specified, "
262
+ {" incremental" , OPT_INCREMENTAL,
263
+ " Create an incremental backup, rather than a full one. When this option is specified, "
265
264
" either --incremental-lsn or --incremental-basedir can also be given. "
266
- " If neither option is given, option --incremental-basedir is passed "
267
- " to xtrabackup by default, set to the first timestamped backup "
265
+ " If neither option is given, option --incremental-basedir is used "
266
+ " by default, set to the first timestamped backup "
268
267
" directory in the backup base directory." ,
269
268
(uchar *) &opt_ibx_incremental, (uchar *) &opt_ibx_incremental, 0 ,
270
269
GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
@@ -379,14 +378,14 @@ static struct my_option ibx_long_options[] =
379
378
{" incremental-history-name" , OPT_INCREMENTAL_HISTORY_NAME,
380
379
" This option specifies the name of the backup series stored in the "
381
380
" PERCONA_SCHEMA.xtrabackup_history history record to base an "
382
- " incremental backup on. Xtrabackup will search the history table "
381
+ " incremental backup on. Backup will search the history table "
383
382
" looking for the most recent (highest innodb_to_lsn), successful "
384
383
" backup in the series and take the to_lsn value to use as the "
385
384
" starting lsn for the incremental backup. This will be mutually "
386
385
" exclusive with --incremental-history-uuid, --incremental-basedir "
387
386
" and --incremental-lsn. If no valid lsn can be found (no series by "
388
- " that name, no successful backups by that name) xtrabackup will "
389
- " return with an error. It is used with the --incremental option." ,
387
+ " that name, no successful backups by that name), "
388
+ " an error will be returned . It is used with the --incremental option." ,
390
389
(uchar*) &opt_ibx_incremental_history_name,
391
390
(uchar*) &opt_ibx_incremental_history_name, 0 , GET_STR,
392
391
REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
@@ -396,8 +395,8 @@ static struct my_option ibx_long_options[] =
396
395
" stored in the PERCONA_SCHEMA.xtrabackup_history to base an "
397
396
" incremental backup on. --incremental-history-name, "
398
397
" --incremental-basedir and --incremental-lsn. If no valid lsn can be "
399
- " found (no success record with that uuid) xtrabackup will return "
400
- " with an error. It is used with the --incremental option." ,
398
+ " found (no success record with that uuid), an error will be returned. "
399
+ " It is used with the --incremental option." ,
401
400
(uchar*) &opt_ibx_incremental_history_uuid,
402
401
(uchar*) &opt_ibx_incremental_history_uuid, 0 , GET_STR,
403
402
REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
@@ -426,7 +425,7 @@ static struct my_option ibx_long_options[] =
426
425
{" include" , OPT_INCLUDE,
427
426
" This option is a regular expression to be matched against table "
428
427
" names in databasename.tablename format. It is passed directly to "
429
- " xtrabackup's --tables option. See the xtrabackup documentation for "
428
+ " --tables option. See the documentation for "
430
429
" details." ,
431
430
(uchar*) &opt_ibx_include,
432
431
(uchar*) &opt_ibx_include, 0 , GET_STR,
@@ -476,12 +475,6 @@ static struct my_option ibx_long_options[] =
476
475
(uchar*) &opt_ibx_lock_wait_threshold, 0 , GET_UINT,
477
476
REQUIRED_ARG, 60 , 0 , 0 , 0 , 0 , 0 },
478
477
479
- {" debug-sleep-before-unlock" , OPT_DEBUG_SLEEP_BEFORE_UNLOCK,
480
- " This is a debug-only option used by the XtraBackup test suite." ,
481
- (uchar*) &opt_ibx_debug_sleep_before_unlock,
482
- (uchar*) &opt_ibx_debug_sleep_before_unlock, 0 , GET_UINT,
483
- REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
484
-
485
478
{" safe-slave-backup-timeout" , OPT_SAFE_SLAVE_BACKUP_TIMEOUT,
486
479
" How many seconds --safe-slave-backup should wait for "
487
480
" Slave_open_temp_tables to become zero. (default 300)" ,
@@ -494,22 +487,20 @@ static struct my_option ibx_long_options[] =
494
487
We put them here with only purpose for them to showup in
495
488
innobackupex --help output */
496
489
497
- {" close_files" , OPT_CLOSE_FILES, " Do not keep files opened. This "
498
- " option is passed directly to xtrabackup. Use at your own risk." ,
490
+ {" close_files" , OPT_CLOSE_FILES, " Do not keep files opened."
491
+ " Use at your own risk." ,
499
492
(uchar*) &ibx_xb_close_files, (uchar*) &ibx_xb_close_files, 0 ,
500
493
GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
501
494
502
- {" compress" , OPT_COMPRESS, " This option instructs xtrabackup to "
503
- " compress backup copies of InnoDB data files. It is passed directly "
504
- " to the xtrabackup child process. Try 'xtrabackup --help' for more "
505
- " details." , (uchar*) &ibx_xtrabackup_compress_alg,
495
+ {" compress" , OPT_COMPRESS, " This option instructs backup to "
496
+ " compress backup copies of InnoDB data files."
497
+ , (uchar*) &ibx_xtrabackup_compress_alg,
506
498
(uchar*) &ibx_xtrabackup_compress_alg, 0 ,
507
499
GET_STR, OPT_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
508
500
509
501
{" compress-threads" , OPT_COMPRESS_THREADS,
510
502
" This option specifies the number of worker threads that will be used "
511
- " for parallel compression. It is passed directly to the xtrabackup "
512
- " child process. Try 'xtrabackup --help' for more details." ,
503
+ " for parallel compression." ,
513
504
(uchar*) &ibx_xtrabackup_compress_threads,
514
505
(uchar*) &ibx_xtrabackup_compress_threads,
515
506
0 , GET_UINT, REQUIRED_ARG, 1 , 1 , UINT_MAX, 0 , 0 , 0 },
@@ -520,17 +511,15 @@ static struct my_option ibx_long_options[] =
520
511
(uchar*) &ibx_xtrabackup_compress_chunk_size,
521
512
0 , GET_ULL, REQUIRED_ARG, (1 << 16 ), 1024 , ULONGLONG_MAX, 0 , 0 , 0 },
522
513
523
- {" export" , OPT_EXPORT, " This option is passed directly to xtrabackup's "
524
- " --export option. It enables exporting individual tables for import "
525
- " into another server. See the xtrabackup documentation for details." ,
514
+ {" export" , OPT_EXPORT, " enables exporting individual tables for import "
515
+ " into another server." ,
526
516
(uchar*) &ibx_xtrabackup_export, (uchar*) &ibx_xtrabackup_export,
527
517
0 , GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
528
518
529
519
{" extra-lsndir" , OPT_EXTRA_LSNDIR, " This option specifies the "
530
520
" directory in which to save an extra copy of the "
531
521
" \" xtrabackup_checkpoints\" file. The option accepts a string "
532
- " argument. It is passed directly to xtrabackup's --extra-lsndir "
533
- " option. See the xtrabackup documentation for details." ,
522
+ " argument." ,
534
523
(uchar*) &ibx_xtrabackup_extra_lsndir,
535
524
(uchar*) &ibx_xtrabackup_extra_lsndir,
536
525
0 , GET_STR, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
@@ -552,7 +541,7 @@ static struct my_option ibx_long_options[] =
552
541
0 , GET_STR, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
553
542
554
543
{" incremental-force-scan" , OPT_INCREMENTAL_FORCE_SCAN,
555
- " This options tells xtrabackup to perform full scan of data files "
544
+ " Perform full scan of data files "
556
545
" for taking an incremental backup even if full changed page bitmap "
557
546
" data is available to enable the backup without the full scan." ,
558
547
(uchar*)&ibx_xtrabackup_incremental_force_scan,
@@ -578,34 +567,30 @@ static struct my_option ibx_long_options[] =
578
567
0 , GET_STR, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
579
568
580
569
{" parallel" , OPT_PARALLEL, " On backup, this option specifies the "
581
- " number of threads the xtrabackup child process should use to back "
582
- " up files concurrently. The option accepts an integer argument. It "
583
- " is passed directly to xtrabackup's --parallel option. See the "
584
- " xtrabackup documentation for details." ,
570
+ " number of threads to use to back "
571
+ " up files concurrently. The option accepts an integer argument." ,
585
572
(uchar*) &ibx_xtrabackup_parallel, (uchar*) &ibx_xtrabackup_parallel,
586
573
0 , GET_INT, REQUIRED_ARG, 1 , 1 , INT_MAX, 0 , 0 , 0 },
587
574
588
575
589
576
{" stream" , OPT_STREAM, " This option specifies the format in which to "
590
577
" do the streamed backup. The option accepts a string argument. The "
591
578
" backup will be done to STDOUT in the specified format. Currently, "
592
- " the only supported formats are tar and mbstream/xbstream. This "
593
- " option is passed directly to xtrabackup's --stream option." ,
579
+ " the only supported formats are tar and mbstream/xbstream." ,
594
580
(uchar*) &ibx_xtrabackup_stream_str,
595
581
(uchar*) &ibx_xtrabackup_stream_str, 0 , GET_STR,
596
582
REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
597
583
598
584
{" tables-file" , OPT_TABLES_FILE, " This option specifies the file in "
599
585
" which there are a list of names of the form database. The option "
600
- " accepts a string argument.table, one per line. The option is passed "
601
- " directly to xtrabackup's --tables-file option." ,
586
+ " accepts a string argument.table, one per line." ,
602
587
(uchar*) &ibx_xtrabackup_tables_file,
603
588
(uchar*) &ibx_xtrabackup_tables_file,
604
589
0 , GET_STR, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
605
590
606
591
{" throttle" , OPT_THROTTLE, " This option specifies a number of I/O "
607
592
" operations (pairs of read+write) per second. It accepts an integer "
608
- " argument. It is passed directly to xtrabackup's --throttle option. " ,
593
+ " argument." ,
609
594
(uchar*) &ibx_xtrabackup_throttle, (uchar*) &ibx_xtrabackup_throttle,
610
595
0 , GET_LONG, REQUIRED_ARG, 0 , 0 , LONG_MAX, 0 , 1 , 0 },
611
596
@@ -617,11 +602,10 @@ static struct my_option ibx_long_options[] =
617
602
0 , 0 , 0 , 0 , 0 , 0 },
618
603
619
604
{" use-memory" , OPT_USE_MEMORY, " This option accepts a string argument "
620
- " that specifies the amount of memory in bytes for xtrabackup to use "
605
+ " that specifies the amount of memory in bytes to use "
621
606
" for crash recovery while preparing a backup. Multiples are supported "
622
607
" providing the unit (e.g. 1MB, 1GB). It is used only with the option "
623
- " --apply-log. It is passed directly to xtrabackup's --use-memory "
624
- " option. See the xtrabackup documentation for details." ,
608
+ " --apply-log." ,
625
609
(uchar*) &ibx_xtrabackup_use_memory,
626
610
(uchar*) &ibx_xtrabackup_use_memory,
627
611
0 , GET_LL, REQUIRED_ARG, 100 *1024 *1024L , 1024 *1024L , LONGLONG_MAX, 0 ,
@@ -643,7 +627,7 @@ static struct my_option ibx_long_options[] =
643
627
644
628
static void usage (void )
645
629
{
646
- puts (" Open source backup tool for InnoDB and XtraDB \n \
630
+ puts (" Open source backup tool\n \
647
631
\n \
648
632
Copyright (C) 2009-2015 Percona LLC and/or its affiliates.\n \
649
633
Portions Copyright (C) 2000, 2011, MySQL AB & Innobase Oy. All Rights Reserved.\n \
@@ -694,7 +678,7 @@ innobackupex [--decompress]\n\
694
678
\n \
695
679
DESCRIPTION\n \
696
680
\n \
697
- The first command line above makes a hot backup of a MySQL database.\n \
681
+ The first command line above makes a hot backup of a database.\n \
698
682
By default it creates a backup directory (named by the current date\n \
699
683
and time) in the given backup root directory. With the --no-timestamp\n \
700
684
option it does not create a time-stamped backup directory, but it puts\n \
@@ -704,22 +688,18 @@ indexes in all databases or in all of the databases specified with the\n\
704
688
--databases option. The created backup contains .frm, .MRG, .MYD,\n \
705
689
.MYI, .MAD, .MAI, .TRG, .TRN, .ARM, .ARZ, .CSM, CSV, .opt, .par, and\n \
706
690
InnoDB data and log files. The MY.CNF options file defines the\n \
707
- location of the database. This command connects to the MySQL server\n \
708
- using the mysql client program, and runs xtrabackup as a child\n \
709
- process.\n \
691
+ location of the database.\n \
710
692
\n \
711
693
The --apply-log command prepares a backup for starting a MySQL\n \
712
694
server on the backup. This command recovers InnoDB data files as specified\n \
713
695
in BACKUP-DIR/backup-my.cnf using BACKUP-DIR/ib_logfile0,\n \
714
696
and creates new InnoDB log files as specified in BACKUP-DIR/backup-my.cnf.\n \
715
- The BACKUP-DIR should be the path to a backup directory created by\n \
716
- xtrabackup. This command runs xtrabackup as a child process, but it does not \n \
717
- connect to the database server.\n \
697
+ The BACKUP-DIR should be the path to a backup directory\n \
718
698
\n \
719
699
The --copy-back command copies data, index, and log files\n \
720
700
from the backup directory back to their original locations.\n \
721
701
The MY.CNF options file defines the original location of the database.\n \
722
- The BACKUP-DIR is the path to a backup directory created by xtrabackup .\n \
702
+ The BACKUP-DIR is the path to a backup directory.\n \
723
703
\n \
724
704
The --move-back command is similar to --copy-back with the only difference that\n \
725
705
it moves files to their original locations rather than copies them. As this\n \
0 commit comments