NetBackup™ Web UI PostgreSQL Administrator's Guide
- Overview
- Managing PostgreSQL instances and databases
- Managing PostgreSQL environment credentials
- Protecting PostgreSQL instances and databases
- Restoring PostgreSQL Instances and Databases
- Troubleshooting PostgreSQL operations
- API for PostgreSQL instances and databases
Using APIs to manage, protect or restore PostgreSQL
This topic lists the APIs to manage, protect or restore the PostgreSQL instances and databases. Only the important variables and options are mentioned in this topic.
Following sections are part of this topic:
For detailed information on the APIs, use these references:
All the NetBackup APIs are listed at the following location:
Services and Operations Readiness Tools (SORT) > Knowledge Base > Documents
Table: Add a PostgreSQL instance
API | Important variables and options |
---|---|
POST /netbackup/asset-service/queries GET /netbackup/asset-service/queries/{aqcId} GET /netbackup/asset-service/workloads /postgresql/assets |
|
Table: Discover the PostgreSQL asset for given client
API | Important variables and options |
---|---|
POST /netbackup/admin/discovery /workloads/postgresql/start POST /netbackup/admin/discovery/workloads /postgresql/stop GET /netbackup/admin/discovery/workloads /postgresql/status POST /netbackup/admin/discovery/workloads /postgresql/allclientsdiscovery |
|
Table: Create a PostgreSQL Protection Plan
API | Important variables and options |
---|---|
POST /netbackup/servicecatalog/slos POST /netbackup/servicecatalog/slos/{sloId} /subscriptions POST /netbackup/servicecatalog/slos/{sloId} /backup-now |
|
After you create a protection plan, other processes like creating the schedule for the policy or triggering the policy backup remain the same.
Table: PostgreSQL asset backup instances available for recovery
API | Important variables and options |
---|---|
GET /netbackup/recovery-point-service /workloads/postgresql/recovery-points GET /netbackup/recovery-point-service /workloads/postgresql/recovery-points /{backupId} GET /netbackup/wui/workloads/postgresql /recovery-point-calendar-summary |
|
Table: Restore the PostgreSQL instance and database at the original location
API | Important variables and options |
---|---|
POST /netbackup/recovery/workloads/postgresql/ scenarios/instance-complete-recovery /recover POST /netbackup/recovery/workloads/postgresql /scenarios/database-complete-recovery /recover |
|
Table: Restore the PostgreSQL instance and database to an alternate location
API | Important variables and options |
---|---|
POST /netbackup/recovery/workloads/postgresql/ scenarios/instance-complete-recovery /recover POST /netbackup/recovery/workloads/postgresql /scenarios/database-complete-recovery /recover |
|