Attach Backup Repository
Product version: 10.11
Last modified: 31 July 2024
Attaches a backup repository.
Endpoint
https://<Director_IP_address>:4443/c/router
                                            
Request Example
 curl
     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": "attach",
        "data": [3],
        "type": "rpc",
        "tid": 1}'Request Fields
| Field | Type | Value(s) | 
|---|---|---|
| action | string | BackupManagement | 
| method | string | attach | 
| data | array of int | The ID of Backup Repository | 
| type | string | rpc | 
| tid | integer | 1 | 
Response Sample
 curl
     curl
                                                Copy
                                                        
                                                    
                                                 {
  "action": "BackupManagement",
  "method": "attach",
  "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 |