Get Backupsets associated with a PostgreSQL Instance
Select
SaaS
Customer Managed
This operation gets all backupsets and its properties under a PostgreSQL Instance.
Find client id using client name
Query Parameters
- clientId integer required
Client ID
- applicationId integer required
125 for PostgreSQL
- instanceId string required
Instance ID of PostgreSQL instance
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
backupsetProperties object[]
modifiedTime integerapplicationSize integertotalBackupSize integerlastBackupTime integerfirstBackupTime integersizeOnMedia integerdedupeRatio integercontent object[]planEntity objectbackupSetEntity object
clientName stringClient name
instanceName stringInstance Name
backupsetId integerBackupset ID
_type_ integerinstanceId integerInstance ID
backupsetGUID stringclientId integerappName stringDefault value:
PostgreSQL
PostgreSQL application name
backupsetName stringBackupset name
applicationId integerApplication ID
entityInfo object
companyId integercompanyName stringmultiCommcellId integer
{
"backupsetProperties": [
{
"modifiedTime": 0,
"applicationSize": 0,
"totalBackupSize": 0,
"lastBackupTime": 0,
"firstBackupTime": 0,
"sizeOnMedia": 0,
"dedupeRatio": 0,
"content": [
{}
],
"planEntity": {},
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"backupsetId": 0,
"_type_": 0,
"instanceId": 0,
"backupsetGUID": "string",
"clientId": 0,
"appName": "PostgreSQL",
"backupsetName": "string",
"applicationId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
}
]
}
{
"backupsetProperties": [
{
"modifiedTime": 1704194652,
"applicationSize": 0,
"totalBackupSize": 0,
"lastBackupTime": 0,
"firstBackupTime": 0,
"sizeOnMedia": 0,
"dedupeRatio": 0,
"content": [
{}
],
"planEntity": {},
"backupSetEntity": {
"clientName": "pgauto1",
"instanceName": "pgauto1_4414_pg14",
"backupsetId": 11461,
"_type_": 6,
"instanceId": 6884,
"backupsetGUID": "CAB666B0-D8BD-4CBA-B9B3-126BEB3B37E9",
"clientId": 4,
"appName": "PostgreSQL",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
}
},
{
"modifiedTime": 1704194652,
"applicationSize": 0,
"totalBackupSize": 0,
"lastBackupTime": 0,
"firstBackupTime": 0,
"sizeOnMedia": 0,
"dedupeRatio": 0,
"content": [
{}
],
"planEntity": {},
"backupSetEntity": {
"clientName": "pgauto1",
"instanceName": "pgauto1_4414_pg14",
"backupsetId": 11462,
"_type_": 6,
"instanceId": 6884,
"backupsetGUID": "66B53211-4F13-4BD2-8603-FA7971F7F8BA",
"clientId": 4,
"appName": "PostgreSQL",
"backupsetName": "FSBasedBackupSet",
"applicationId": 125,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Loading...