NetBackup™ for SQLite Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.2)

Querying the backups

The nbsqlite -o query command lists the backup files according to the options that you specify.

The parameter -S is the required parameter. Alternatively, you can query the backups using the -C and -P options to define a different client and policy.

To query backup

  1. Configure the parameters on the nbsqlite command line.
  2. Run the following command:

    nbsqlite -o query -S primary_server_name [-C ClientA] [-P policy_name]

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

nbsqlite -o query -S primary_server_name [-C ClientA]

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

nbsqlite -o query -S primary_server_name [-P policy_name]

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

nbsqlite -o query -S primary_server_name [-C ClientA] [-P policy_name]