Skip to main content

backups

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

Overview

Namebackups
TypeResource
Idazure_extras.storsimple_1200_series.backups

Fields

NameDatatypeDescription
idstringThe identifier.
namestringThe name.
propertiesobjectClass represents Backup properties
typestringThe type.

Methods

NameAccessible byRequired ParamsDescription
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves all the backups in a device. Can be used to get the backups for failover also.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the backups in a manager.
deleteDELETEbackupName, deviceName, managerName, resourceGroupName, subscriptionIdDeletes the backup.
cloneEXECbackupName, deviceName, elementName, managerName, resourceGroupName, subscriptionId, data__propertiesClones the given backup element to a new disk or share with given details.

SELECT examples

Retrieves all the backups in a manager.

SELECT
id,
name,
properties,
type
FROM azure_extras.storsimple_1200_series.backups
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified backups resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.backups
WHERE backupName = '{{ backupName }}'
AND deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';