Skip to main content

backup_and_exports

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

Overview

Namebackup_and_exports
TypeResource
Idazure.mysql.backup_and_exports

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
createINSERTresourceGroupName, serverName, subscriptionId, data__backupSettings, data__targetDetailsExports the backup of the given server by creating a backup if not existing.
validate_backupEXECresourceGroupName, serverName, subscriptionIdValidates if backup can be performed for given server.

INSERT example

Use the following StackQL query and manifest file to create a new backup_and_exports resource.

/*+ create */
INSERT INTO azure.mysql.backup_and_exports (
resourceGroupName,
serverName,
subscriptionId,
data__backupSettings,
data__targetDetails,
backupSettings,
targetDetails
)
SELECT
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}',
'{{ data__backupSettings }}',
'{{ data__targetDetails }}',
'{{ backupSettings }}',
'{{ targetDetails }}'
;