Page tree

Gets all savepoints 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
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
                               },
        			"targetVid": "BACKUP_OBJECT-23"
                    }],
            "type": "rpc",
	        "tid": 1
            }"

Request Fields

Field
Type
Value(s)
actionstring

TapeBackupManagement

methodstring

getSavepoints

dataJson

Filter parameters. See the filter table below

typestringrpc
tidint1

filter

Field
Type
Description

start

int

Start ID of the backup object to be returned

count

int

Number of backup objects to be returned

targetVidstringTape 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
messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure

data

Json

Savepoint info

data.children

Single savepoint info.

Field

Value

Description

id

string

Savepoint ID

name

string

Savepoint name

type

string

Backup type. Possible values: INCREMENTAL, FULL, UNKNOWN

last

boolean

true if the current savepoint is the last savepoint

size

long

Size of the savepoint

date

DateTime

Date of the savepoint

expirationDate

DateTime

Expiration date of the savepoint

backupObjectSavepointId

long

Backup object ID

tapeCartridgeId

long

Tape cartridge ID

tapeName

string

Tape cartridge name

  • No labels