GetBackupTarget
Suggest changes
You can use the GetBackupTarget
method to return information about a specific backup target that you have created.
Parameters
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
attributes |
List of name-value pairs in JSON object format. |
JSON object |
None |
No |
backupTargetID |
Unique identifier assigned to the backup target. |
integer |
None |
Yes |
name |
Name of the backup target. |
string |
None |
No |
Return value
This method has the following return value:
Name | Description | Type |
---|---|---|
backupTarget |
List of name-value pairs in JSON object format. |
JSON object |
Request example
Requests for this method are similar to the following example:
{ "id": 1, "method": "GetBackupTarget", "params": { "backupTargetID": 1 } }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "backupTarget": { "attributes" : { "size" : 100 }, "backupTargetID" : 1, "name" : "mytargetbackup" } } }
New since version
9.6