Backup Repository Maintenance
Starts the Backup Repository maintenance: self-healing, space reclaim, and backup verification.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
Copy
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "BackupManagement",
"method": "startMaintenance",
"data": [{
"id":3,
"selfHealing":true,
"spaceReclaim":false,
"verifyBackups":false,
"interruptSpaceReclaim":false}],
"type": "rpc",
"tid": 1}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string | BackupManagement |
method
|
string | startMaintenance |
data
|
Json | Parameters of maintenance |
type
|
string | rpc
|
tid
|
integer | 1 |
data
Field
|
Type
|
Description
|
---|---|---|
id
|
int | Repository ID |
selfHealing
|
boolean | true to start the backup repository self-healing |
spaceReclaim
|
boolean | true to start the space reclaim |
verifyBackups
|
boolean | true to start the backup verification |
interruptSpaceReclaim
|
boolean | true to interrupt the space reclaim |
Response Sample
curl
Copy
{
"action": "BackupManagement",
"method": "startMaintenance",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |