Modify PostgreSQL Dumpbased backupset
This operation is used to modify PostgreSQL DumpBased Backupset.
Path Parameters
- backupsetId string required
backupsetId of the PostgreSQL Backupset
- application/json
Request Body
backupsetProperties object
Responses
- 200
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 0,
"applicationId": 125,
"backupsetId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 444,
"applicationId": 125,
"backupsetId": 1320,
"_type_": 0
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "No Backup Set is specified.",
"errorCode": 4
}
POST /backupset/:backupsetid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/backupset/:backupsetId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetProperties": {
"backupSetEntity": {
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"_type_": "BACKUPSET_ENTITY",
"backupsetName": "DumpBasedBackupSet",
"applicationId": 125
},
"postGresBackupSetProps": {
"parallelDumpOpt": {
"enableParallelDump": false,
"jobs": 0,
"stagingPath": "string"
},
"enableGlobalObjectsBkp": false
},
"commonBackupSet": {
"isDefaultBackupSet": true
}
}
}'