Please enter search query.
Search <book_title>...
NetBackup™ for PostgreSQL Administrator's Guide
Last Published:
2022-09-08
Product(s):
NetBackup & Alta Data Protection (10.1)
- Introduction to NetBackup for PostgreSQL
- Configuring NetBackup for PostgreSQL
- NetBackup for PostgreSQL backup and restore
- About PostgreSQL backups
- Troubleshooting for PostgreSQL
- Appendix A. NetBackup for PostgreSQL commands and conventions
- Appendix B. NetBackup for PostgreSQL commands
Querying the PostgreSQL backups
The nbpgsql -o query command lists previously backed up files according to the options that you specify.
The parameter -S is the required parameter. You can use the -C and -P options to define a different client and policy.
To query a backup
- Configure the parameters on the command line.
- Run the following command:
nbpgsql -o query -S primary_server [-C client_name] [-P policy_name]
For example, to query a backup from client ClientA,
run the following command:
nbpgsql -o query -S primary_server [-C ClientA]
For example, to list backup files with the policy name policy_name
, run the following command:
nbpgsql -o query -S primary_server [-P policy_name]