createOnDemandDb2Backup
Create on demand database snapshot Supported in v8.0+ Initiates a job to take an on demand, full snapshot of a specified Db2 database object. Use the GET /db2/db/request/{id} endpoint to monitor the progress of the job.
Arguments
| Argument | Type | Description |
|---|---|---|
| input (required) | CreateOnDemandDb2BackupInput! | Input for V1CreateOnDemandDb2Backup. |
Returns
Sample
{
"data": {
"createOnDemandDb2Backup": {
"endTime": "2024-01-01T00:00:00.000Z",
"id": "example-string",
"nodeId": "example-string",
"progress": 0.0,
"result": "example-string",
"startTime": "2024-01-01T00:00:00.000Z",
"error": {
"message": "example-string"
},
"links": [
{
"href": "example-string",
"rel": "example-string"
}
]
}
}
}