Add a --version and --help option
Bug #665295 reported by
Baron Schwartz
This bug report is a duplicate of:
Bug #610614: xtrabackup does not support a "version" argument.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Triaged
|
Low
|
Unassigned |
Bug Description
xtrabackup has no --version or --help options. For writing wrapper scripts such as innobackupex, we really need a --version option. And --help is a standard option too.
tags: | added: fr innobackupex xtrabackup |
Changed in percona-xtrabackup: | |
assignee: | Vadim Tkachenko (vadim-tk) → nobody |
status: | Confirmed → Triaged |
tags: | added: low-hanging-fruit |
To post a comment you must log in.
--help works for me
./xtrabackup_55 --help
./xtrabackup_55 Ver undefined Rev undefined for 5.5.6-rc unknown-linux-gnu (x86_64)
Open source backup tool for InnoDB and XtraDB
Copyright (C) 2009 Percona Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can download full text of the license on http:// www.gnu. org/licenses/ gpl-2.0. txt
Usage: [./xtrabackup_55 [--defaults-file=#] --backup | ./xtrabackup_55 [--defaults-file=#] --prepare] [OPTIONS]
Default options are read from the following files in the given order: etc/my. cnf ~/.my.cnf extra-file= # Read this file after the global files are read.
log when prepare. suspended' and waits until the
user deletes that file at the end of '--backup'
second to IOS values (for '--backup') logfile' to stdout
only until the file 'xtrabackup_ suspended' deleted (for
'--backup' ). -lsn=name
(for --backup): copy only .ibd pages newer than specified
LSN 'high:low'. ##ATTENTION##: checkpoint lsn must be
used. anyone can detect your mistake. be carefully! -basedir= name
(for --backup): copy only .ibd pages newer than backup at
specified directory. -dir=name
(for --prepare): apply .delta files and logfile in the
specified directory. file=name filtering by list of the exact database.table name in the
/etc/my.cnf /etc/mysql/my.cnf /usr/local/
The following groups are read: mysqld xtrabackup
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file.
--defaults-file=# Only read default options from the given file #.
--defaults-
--target-dir=name destination directory
--backup take backup to target-dir
--stats calc statistic of datadir (offline mysqld is recommended)
--prepare prepare a backup for starting mysql server on the backup.
--export create files to import to another database when prepare.
--apply-log-only stop recovery process not to progress LSN after applying
--print-param print parameter of mysqld needed for copyback.
--use-memory=# The value is used instead of buffer_pool_size
--suspend-at-end creates a file 'xtrabackup_
--throttle=# limit count of IO operations (pairs of read&write) per
--log-stream outputs the contents of 'xtrabackup_
--incremental
--incremental
--incremental
--tables=name filtering by regexp for table names.
--tables-
...