"Fossies" - the Fresh Open Source Software Archive

Member "refman-8.0-en.man-gpl/ndb_print_backup_file.1" (25 Oct 2021, 14832 Bytes) of package /linux/misc/mysql-refman/mysql-refman-8.0-en.man-gpl.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

NDB_PRINT_BACKUP_FILE

NAME
SYNOPSIS
DESCRIPTION
COPYRIGHT
SEE ALSO
AUTHOR

NAME

ndb_print_backup_file − print NDB backup file contents

SYNOPSIS

ndb_print_backup_file file_name

DESCRIPTION

ndb_print_backup_file obtains diagnostic information from a cluster backup file.

Table 23.39. Command−line options used with the program ndb_print_backup_file
Usage

ndb_print_backup_file [−P password] file_name

file_name is the name of a cluster backup file. This can be any of the files (.Data, .ctl, or .log file) found in a cluster backup directory. These files are found in the data node's backup directory under the subdirectory BACKUP−#, where # is the sequence number for the backup. For more information about cluster backup files and their contents, see Section 23.6.8.1, “NDB Cluster Backup Concepts”.

Like ndb_print_schema_file and ndb_print_sys_file (and unlike most of the other NDB utilities that are intended to be run on a management server host or to connect to a management server) ndb_print_backup_file must be run on a cluster data node, since it accesses the data node file system directly. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down.

In NDB 8.0, this program can also be used to read undo log files. Options

Prior to NDB 8.0.24, ndb_print_backup_file supported only the −P option. Beginning with NDB 8.0.24, the program supports a number of options, which are described in the following list.

−−backup−password

Specify the password needed to decrypt an encrypted backup.

The long form of this option is available beginning with NDB 8.0.24.

−−backup−password−from−stdin

Allow input of the password from standard input, similar to entering a password after invoking mysql −−password with no password supplied.

−−control−directory−number

Control file directory number. Used together with −−print−restored−rows.

−−defaults−extra−file

Read given file after global files are read.

−−defaults−file

Read default options from given file only.

−−defaults−group−suffix

Also read groups with concat(group, suffix).

−−fragment−id

Fragment ID. Used together with −−print−restored−rows.

−−help

Print program usage information.

−−login−path

Read given path from login file.

−−no−defaults

Do not read default options from any option file other than login file.

−−no−print−rows

Do not include rows in output.

−−print−defaults

Print program argument list and exit.

−−print−header−words

Include header words in output.

−−print−restored−rows

Include restored rows in output, using the file LCP/c/TtFf.ctl, for which the values are set as follows:

c is the control file number set using −−control−directory−number

t is the table ID set using −−table−id

f is the fragment ID set using −−fragment−id

−−print−rows

Print rows. This option is enabled by default; to disable it, use −−no−print−rows.

−−print−rows−per−page

Print rows per page.

−−rowid−file

File to check for row ID.

−−show−ignored−rows

Show ignored rows.

−−table−id

Table ID. Used together with −−print−restored−rows.

−−usage

Display help text and exit; same as −−help.

−−verbose

Verbosity level of output. A greater value indicates increased verbosity.

−−version

Display version information and exit.

COPYRIGHT

Copyright © 1997, 2021, Oracle and/or its affiliates.

This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This documentation 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 should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.

SEE ALSO

For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/.

AUTHOR

Oracle Corporation (http://dev.mysql.com/).