Skip to main content

veeam_restore_points

Creates, updates, deletes, gets or lists a veeam_restore_points resource.

Overview​

Nameveeam_restore_points
TypeResource
Idovh.vps.veeam_restore_points

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idintegerThe restore point's id
creation_timestring (date-time)The restore point's creation time (wire: creationTime)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectid, service_nameReturns the ID and the creation time of a Veeam restore point of the VPS. (Deprecated, will be removed)
listselectservice_namecreation_time, x_pagination_modeReturns the IDs of the Veeam restore points available for the VPS. (Deprecated, will be removed)
restoreexecid, serviceName, fullRestores the VPS from a Veeam restore point and returns the task that performs it. (Deprecated, will be removed)

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
idintegerId
serviceNamestringService name
service_namestringService name (wire: serviceName)
creation_timestring (date-time)Filter the value of creationTime property (like) (wire: creationTime)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Returns the ID and the creation time of a Veeam restore point of the VPS. (Deprecated, will be removed)

SELECT
id,
creation_time
FROM ovh.vps.veeam_restore_points
WHERE id = '{{ id }}' -- required
AND service_name = '{{ service_name }}' -- required
;

Lifecycle Methods​

EXEC variables use wire (API) names.

Restores the VPS from a Veeam restore point and returns the task that performs it. (Deprecated, will be removed)

EXEC ovh.vps.veeam_restore_points.restore
@id='{{ id }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"changePassword": {{ changePassword }},
"export": "{{ export }}",
"full": {{ full }}
}'
;