Create database group
This operation creates a database group for a PostgreSQL instance.
- application/json
Request Body
subClientProperties object
subClientEntity object
clientName string requiredName of the cloud account
instanceName string requiredName of the Instance for which database group has to be created
applicationId integer requiredDefault value:
125
backupsetId integer requiredBackupset ID
subclientName string requiredName of the database group to be created
planEntity object
planName stringName of the plan
contentOperationType string requiredDefault value:
ADD
content object[]
postgreSQLContent object required
Names of the databases to be added to the Database group content
databaseName stringpostgreSQLSubclientProp object
numberOfBackupStreams integer requiredPossible values:
>= 1
and<= 100
Default value:
1
No of streams for data backup
collectObjectListDuringBackup booleanDefault value:
false
Responses
- 200
- 400
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integer_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 1585,
"_type_": 0
}
}
}
Bad Request
Conflict
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "A subclient by this name already exists as part of this backup set.",
"errorCode": 3
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to create new subclient.",
"errorCode": 1
}
Loading...