forked from Azure/azure-quickstart-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This template will use existing backup vault and policy, and enables protection of registered IaasVM containers.
- Loading branch information
1 parent
f83ecd9
commit dd8e1c0
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Protect IaasVM using Azure Backup | ||
|
||
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-backup-protect-iaasvm%2Fazuredeploy.json" target="_blank"> | ||
<img src="http://azuredeploy.net/deploybutton.png"/> | ||
</a> | ||
|
||
<p>This template will use existing backup vault and policy, and enables protection of registered IaasVM containers.</p> | ||
<p>To create backup vault and backup policy use existing template: https://github.com/Azure/azure-quickstart-templates/tree/master/101-create-backup-vault-policy </p> | ||
<p>Know more about IaasVM Backup: https://azure.microsoft.com/en-us/blog/azure-backup-announcing-support-for-backup-of-azure-iaas-vms/</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"vaultName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Name of the Existing Backup Vault" | ||
} | ||
}, | ||
"registeredContainers": { | ||
"type": "array", | ||
"metadata": { | ||
"description": "Array of registered containers. It will take input as type of container; vm name; cloud service name. e.g for iaasvm type: iaasvmcontainer;myvm1;myvm1" | ||
} | ||
}, | ||
"policyName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Name of existing Backup Policy in the Backup Vault." | ||
} | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[concat(parameters('vaultName'), '/', parameters('registeredContainers')[copyIndex()], '/', parameters('registeredContainers')[copyIndex()])]", | ||
"apiVersion": "2015-03-15", | ||
"type": "Microsoft.Backup/BackupVault/registeredContainers/protectedItems", | ||
"copy": { | ||
"name": "protectedItemsCopy", | ||
"count": "[length(parameters('registeredContainers'))]" | ||
}, | ||
"properties": { | ||
"policyId": "[parameters('policyName')]" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"vaultName": { | ||
"value": "backupvault1" | ||
}, | ||
"registeredContainers": { | ||
"value": [ | ||
"iaasvmcontainer;myvm1;myvm1", | ||
"iaasvmcontainer;myvm2;myvm2" | ||
] | ||
}, | ||
"policyName": { | ||
"value": "backuppolicy1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"itemDisplayName": "Protect IaasVM using Azure Backup", | ||
"description": "This template will use existing backup vault and policy, and enables protection of registered IaasVM containers.", | ||
"summary": "This template enable IaasVM protection using Azure Backup", | ||
"githubUsername": "nilaydshah", | ||
"dateUpdated": "2015-10-19" | ||
} |