NetBackup™ for MySQL Administrator's Guide
Querying the MySQL backups
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.
For example, to query a backup from the client ClientA
, run the following command:
nbmysql -o query -S primary_server_name [-C ClientA]
For example, to list backup files with the policy name policy_name
, run the following command:
nbmysql -o query -S primary_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 primary_server_name [-C ClientA] [-P policy_name]