Page tree

Returns a list of recovery points that are older than the specified number of days or a list of legacy recovery points that are older than the specified number of days and do not belong to any job.

To bulk remove the chosen type of recovery points, note this request's response and proceed to Bulk Remove Recovery Points.

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 Examples


Excluding "No Job" Parameter

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
    		"action": "BackupManagement",
    		"method": "collectSavepointRemoveList",
    		"data": [{
           			"removeOption": "SAVEPOINTS_OLDER_THAN",
            		"olderThanDays": 30,
            		"backupRepositoryId": 2
        			}],
    		"type": "rpc",
    		"tid": 1
			}"

Including "No Job" Parameter

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
    		"action": "BackupManagement",
    		"method": "collectSavepointRemoveList",
    		"data": [{
           			"removeOption": "NO_JOB_SAVEPOINTS_OLDER_THAN",
            		"olderThanDays": 30,
            		"backupRepositoryId": 2
        			}],
    		"type": "rpc",
    		"tid": 1
			}"

Request Fields

Field

Type

Value(s)

actionstring

BackupManagement

methodstring

collectSavepointRemoveList

dataarrayThe filtration parameters (see below)
typestringrpc
tidint1

Data

Field

Type

Description

removeOption

string"SAVEPOINTS_OLDER_THAN" or "NO_JOB_SAVEPOINTS_OLDER_THAN"

olderThanDays

int

Minimum age of the recovery points in days

backupRepositoryIdintID of the backup repository containing the recovery points

Response Sample

 {
    "action": "BackupManagement",
    "method": "collectSavepointRemoveList",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": {
        "items": [{
                "vid": "SAVEPOINT-105",
                "parentVid": "BACKUP_OBJECT-34",
                "name": "VM",
                "timestamp": "2019-04-10T06:55:25.799-07:00"
            }, {
                "vid": "SAVEPOINT-85",
                "parentVid": "BACKUP_OBJECT-19",
                "name": "Win7",
                "timestamp": "2019-04-10T06:52:00.577-07:00"
            }, {
                "vid": "SAVEPOINT-91",
                "parentVid": "BACKUP_OBJECT-23",
                "name": "VMware",
                "timestamp": "2019-04-10T06:52:13.983-07:00"
            }
        ],
        "totalDependSavepoints": 0
    }
}

Response Fields

Field

Value

Description

messagestringMessage if the request failed
wherestringReference to the method where the problem occurred
causestringCause of failure
dataarrayParameters of the recovery points (see below)

data

Field

Value

Description

itemsarrayRecovery point list (see below)
totalDependSavepointsintNumber of recovery points dependent on the listed recovery points

data.items

Field

Value

Description

vidstringRecovery point VID

parentVid 

string Backup object VID

name

stringBackup object name
timestampDateTimeDate and time the recovery point was created
  • No labels