Veritas NetBackup™ for MySQL Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.2)

About NetBackup for MySQL commands

This section describes the commands, options, and parameters that are available to run the nbmysql operations. Each command contains a brief description, required parameters, and the optional parameters for the respective operations. The agent supports only those commands, options, and parameters that are mentioned in this document.

Note for the following:

  • You must provide the parameters for the respective operations in the nbmysql.conf file or provide them on the nbmysql command line.

  • The parameter values that you provide on the command line takes precedence over the nbmysql.conf file.

  • Set the operation type -o on the nbmysql command line.

  • Set the other parameters and options for the respective operation on the nbmysql command line or the nbmysql.conf file.

    The parameters on the command line take precedence over the nbmysql.conf file.

The NetBackup for MySQL command options

Table: The nbmysql command options lists the options for nbmysql command.

Table: The nbmysql command options

Options

Descriptions

-C

Configures the NetBackup client name for redirected restores.

-h

Displays the Help usage, when it is the only option on the nbmysql command line.

-id

Configures the specified backup using the backup image name.

-l

Configures the MySQL library directory.

-o

Configures the operation type (backup, restore, query, and delete).

-P

Configures the DataStore policy.

-p

Configures the database server port number that identifies the MySQL instance on which the backup or restore is performed.

-s

Configures the NetBackup schedule.

-S

Configures the NetBackup master server name.

-t

Configures the target directory to restore the data.

-u

Configures the database user name.

-z

Configures the LVM snapshot size for Linux configured systems.