Important Update: Cohesity Products Documentation
All Cohesity product documentation are now managed via the Cohesity Docs Portal: https://docs.cohesity.com/HomePage/Content/home.htm. Some documentation available here may not reflect the latest information or may no longer be accessible.
NetBackup™ for PostgreSQL Administrator's Guide
- Introduction to NetBackup for PostgreSQL
- Configuring NetBackup for PostgreSQL
- NetBackup for PostgreSQL backup and restore
- About PostgreSQL backups
- Performing PostgreSQL backups
- Validating the PostgreSQL backups
- Querying the PostgreSQL backups
- Deleting backup information from the NetBackup catalog files
- About PostgreSQL restore
- Performing the PostgreSQL restores
- Redirected restores
- Recovering the restores
- Disaster recovery
- Troubleshooting for PostgreSQL
- Appendix A. NetBackup for PostgreSQL commands and conventions
- Appendix B. NetBackup for PostgreSQL commands
- Index
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]