Veritas NetBackup™ for MySQL Administrator's Guide

Last Published:
Product(s): NetBackup (8.2)
Platform: Linux,UNIX,Windows

Querying the MySQLbackups

The nbmysql query command lists the backup files according to the options that you specify. The parameter -S is the required parameter. Alternatively, you can use the -C client_name and -P policy_name options to define a different client and policy.

You can configure the parameters from the nbmysql.conf file or set the parameters using the nbmysql command. By default, NetBackup uses the values that you have configured in the nbmysql.conf file.

For example, to query a backup from the client ClientA, run the following command:

nbmysql -o query -S master_server_name [-C ClientA]

For example, to list backup files with the policy name policy_name, run the following command:

nbmysql -o query -S master_server_name [-P policy_name]

For example, to query a backup from the client Client A with policy name policy_name, run the following command:

nbmysql -o query -S master_server_name [-C ClientA] [-P policy_name]