Get All Recovery Points By Tape Backup
Gets all recovery points by a tape backup.
Endpoint
https://<Director_IP_address>:4443/c/router
Tenant Endpoint
For tenants of the multi-tenant product the endpoint must be:https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router
Request Example
curl--request POST\
--url https: //<Director_IP_address>:4443/c/router \
--header "content-type: application/json"\
--cookie @cookies.txt\
--data '{
"action": "TapeBackupManagement",
"method": "getSavepoints",
"data": [{
"filter": {
"start": 0,
"count": 25
"sort": "tapeName",
"sortAsc": false,
"sorts": null
},
"targetVid": "BACKUP_OBJECT-23"
}],
"type": "rpc",
"tid": 1}'
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string |
|
method
|
string |
|
data
|
Json |
Filter parameters. See the |
type
|
string | rpc
|
tid
|
int | 1 |
filter
Field
|
Type
|
Description
|
---|---|---|
|
int |
Start ID of the backup object to be returned |
|
int |
Number of backup objects to be returned |
sort
|
string |
Backup object parameter to be sorted with |
sortAsc
|
boolean | true if the sort order is ascending |
sorts
|
string | Backup objects to be sorted with |
targetVid
|
string | Tape backup VID |
Response Sample
{
"action": "TapeBackupManagement",
"method": "getSavepoints",
"tid": 1,
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": {
"children": [
{
"id": 51,
"name": "Centos7",
"type": "FULL",
"last": true,
"size": 0,
"date": "2019-03-22T14:20:37.644+07:00",
"expirationDate": null,
"backupObjectSavepointId": 23,
"tapeCartridgeId": 4,
"tapeName": "SLOT03"
},
{
"id": 55,
"name": "Centos7",
"type": "FULL",
"last": true,
"size": 0,
"date": "2019-03-22T14:20:37.644+07:00",
"expirationDate": null,
"backupObjectSavepointId": 24,
"tapeCartridgeId": 3,
"tapeName": "VTLS02"
}
],
"totalCount": 2
}
}
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 |
|
Json |
Recovery point info |
data.children
Single recovery point info.
Field |
Value |
Description |
---|---|---|
|
string |
Recovery point ID |
|
string |
Recovery point name |
|
string |
Backup type. Possible values: |
|
boolean |
|
|
long |
Size of the recovery point |
|
DateTime |
Date of the recovery point |
|
DateTime |
Expiration date of the recovery point |
|
long |
Backup object ID |
|
long |
Tape cartridge ID |
|
string |
Tape cartridge name |