NetBackup™ for SQLite Administrator's Guide
- Introduction to NetBackup for SQLite Agent
- Installing the NetBackup for SQLite Agent
- Configuring the NetBackup for SQLite
- NetBackup for SQLite backup and restore
- Troubleshooting for NetBackup for SQLite
- Appendix A. NetBackup for SQLite commands and conventions
- Appendix B. NetBackup for SQLite commands
Querying the backups
The nbsqlite -o query command lists the backup files according to the options that you specify. You can configure these parameters from the nbsqlite.conf
file or provide the parameters using the nbsqlite command line.
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.
By default, NetBackup uses the values that you have configured in the nbsqlite.conf
file.
Before you run a query, set the following parameters in the nbsqlite.conf
file or provide on the command line:
CLIENT_NAME
POLICY_NAME
MASTER_SERVER_NAME
To query backup
- Configure the parameters in the
nbsqlite.conf
file or on the nbsqlite command line. - Run the following command:
nbsqlite -o query -S master_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 master_server_name [-C ClientA]
For example, to list backup files with the policy name policy_name
, run the following command:
nbsqlite -o query -S master_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 master_server_name [-C ClientA] [-P policy_name]