Spring over navigation

The Azure Quickstart templates are currently available in English

Create Recovery Services Vault with backup policies

Sidst opdateret: 05-09-2021

This template creates a Recovery Services Vault with backup policies and configure optional features such system identity, backup storage type, cross region restore and diagnostics logs and a delete lock.

Denne ARM-skabelon (Azure Resource Manager) blev oprettet af et medlem af communityet og ikke af Microsoft. Hver ARM-skabelon er givet i licens til dig under en licensaftale med ejeren af skabelonen og ikke med Microsoft. Microsoft kan ikke gøres ansvarlig for de ARM-skabeloner, der leveres og gives i licens af communitymedlemmer, og vi undersøger dem ikke for sikkerhed, kompatibilitet eller ydeevne. ARM-skabeloner fra communytiet understøttes ikke af noget eller nogen Microsoft-supportprogram eller -tjeneste, og de stilles til rådighed, SOM DE ER, uden nogen former for garanti.

Parametre

Parameternavn Beskrivelse
vaultName Recovery Services vault name
location Location of Recovery Services vault
enableSystemIdentity Enable system identity for Recovery Services vault
sku Enable system identity for Recovery Services vault
storageType Storage replication type for Recovery Services vault
enablecrossRegionRestore Enable cross region restore
backupPolicies Array containing backup policies
enableDeleteLock Enable delete lock
enableDiagnostics Enable diagnostic logs
diagnosticStorageAccountId Storage account resource id. Only required if enableDiagnostics is set to true.
logAnalyticsWorkspaceId Log analytics workspace resource id. Only required if enableDiagnostics is set to true.

Brug skabelonen

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.recoveryservices/recovery-services-create-vault-with-backup-policies/azuredeploy.json
Installér og konfigurer Azure PowerShell

Kommandolinje

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.recoveryservices/recovery-services-create-vault-with-backup-policies/azuredeploy.json
Installér og konfigurer Azure-kommandolinjegrænsefladen til flere platforme