इनोवेट समिट में माइग्रेट करें:
जानें कि Azure में माइग्रेट और आधुनिकीकरण कैसे आपके व्यवसाय के प्रदर्शन, लचीलापन और सुरक्षा को बढ़ावा दे सकता है, जिससे आप AI को पूरी तरह से अपना सकते हैं।अभी पंजीकरण करें
यह ब्राउज़र अब समर्थित नहीं है.
नवीनतम सुविधाओं, सुरक्षा अपडेट और तकनीकी सहायता का लाभ लेने के लिए Microsoft Edge में अपग्रेड करें.
Quickstart: Create a Recovery Services vault using an ARM template
आलेख
This quickstart describes how to set up a Recovery Services vault by using an Azure Resource Manager
template (ARM template). The Azure Site Recovery service contributes to your business
continuity and disaster recovery (BCDR) strategy so your business applications stay online during
planned and unplanned outages. Site Recovery manages disaster recovery of on-premises machines and
Azure virtual machines (VM), including replication, failover, and recovery.
An Azure Resource Manager template is a JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for your project. The template uses declarative syntax. You describe your intended deployment without writing the sequence of programming commands to create the deployment.
If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.
Prerequisites
If you don't have an active Azure subscription, you can create a
free account before you begin.
The template includes optional parameters for the vault's backup configuration. The storage
redundancy settings are locally redundant storage (LRS) or geo-redundant storage (GRS). For more
information, see Set storage redundancy.
echo "Enter the resource group name:" &&
read resourceGroupName &&
echo "Enter the vault name:" &&
read vaultName &&
az backup vault show --name$vaultName--resource-group$resourceGroupName &&
az backup vault backup-properties show --name$vaultName--resource-group$resourceGroupName &&
echo "Press [ENTER] to continue ..."
Azure PowerShell
$resourceGroupName = Read-Host -Prompt"Enter the resource group name"$vaultName = Read-Host -Prompt"Enter the vault name"$vaultBackupConfig = Get-AzRecoveryServicesVault -Name$vaultNameGet-AzRecoveryServicesVault -ResourceGroupName$resourceGroupName -Name$vaultNameGet-AzRecoveryServicesBackupProperty -Vault$vaultBackupConfigWrite-Host"Press [ENTER] to continue..."
The following output is an excerpt of the vault's information:
Name : myVault
Type : Microsoft.RecoveryServices/vaults
Location : eastus
ResourceGroupName : myResourceGroup
SubscriptionId : <Subscription Id>
BackupStorageRedundancy
-----------------------
GeoRedundant
Clean up resources
If you plan to use the new resources, no action is needed. Otherwise, you can remove the resource
group and vault that was created in this quickstart. To delete the resource group and its resources
use Azure CLI or Azure PowerShell.
echo "Enter the resource group name:" &&
read resourceGroupName &&
az group delete --name$resourceGroupName &&
echo "Press [ENTER] to continue ..."
Azure PowerShell
$resourceGroupName = Read-Host -Prompt"Enter the resource group name"Remove-AzResourceGroup -Name$resourceGroupNameWrite-Host"Press [ENTER] to continue..."
Next steps
In this quickstart, you created a Recovery Services vault. To learn more about disaster recovery,
continue to the next quickstart article - Set up disaster recovery.
Azure करने के लिए लगातार और मज़बूती से अपने बुनियादी ढांचे को परिनियोजित करने के लिए Visual Studio कोड का उपयोग करके JSON Azure संसाधन प्रबंधक टेम्पलेट लिखें।