Skip to main content

veeam_restored_backups

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

Overview​

Nameveeam_restored_backups
TypeResource
Idovh.vps.veeam_restored_backups

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
restore_point_idintegerThe restore point id (wire: restorePointId)
access_infosobjectBackup access informations (wire: accessInfos)
statestringThe restored backup state (mounted, restoring, unmounted, unmounting)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameReturns the restore point, the state and the access information of the Veeam backup currently restored on the VPS. (Deprecated, will be removed)
deletedeleteservice_nameUnmounts the restored Veeam backup from the VPS 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"}})
service_namestringService name (wire: serviceName)

SELECT examples​

Returns the restore point, the state and the access information of the Veeam backup currently restored on the VPS. (Deprecated, will be removed)

SELECT
restore_point_id,
access_infos,
state
FROM ovh.vps.veeam_restored_backups
WHERE service_name = '{{ service_name }}' -- required
;

DELETE examples​

Unmounts the restored Veeam backup from the VPS and returns the task that performs it. (Deprecated, will be removed)

DELETE FROM ovh.vps.veeam_restored_backups
WHERE service_name = '{{ service_name }}' --required
;