I was yesterday speaking at the CDC in Germany in 2018, a large Cloud Conference community event focusing on the Microsoft Cloud OS platform to be held in Hanau, Germany. With national and international speakers and over 400 participants, it was a great conference!
I presented a session on protecting local workloads for Azure and how you can leverage Azure Backup to comply with GDPR requirements. In this demo-heavy session, I presented approx Microsoft Azure backup server, System Center Data Protection Manager and Azure backup (great techniques).
I had the whole house during the session, great attendance, good questions as well as great, in-depth discussions afterwards. I had fun introducing there. Many thanks Rachfahl IT-Solutions GmbH & Co. KG and my colleague MVP Carsten Rachfahl on the compilation of this event.
During the session, I showed participants how to create a recovery service container using Azure PowerShell.
If you are interested in using it in your environment, here is a copy of the code. Suppose you have already installed AzureRM PowerShell module on your machine before running the script.
# Import-Module Azure Resource Manager Module Import-Module AzureRM.Resources # Log into Azure tenant and select the desired Subscription Login-AzureRMAccount $SubscriptionID = Get-AzureRmSubscription | Out-GridView -Title "Select one Azure Subscription" -PassThru Set-AzureRmContext -SubscriptionId $SubscriptionID.Id # Register the required providers (not required if you've used Azure Backup under this subscription before) Register-AzureRmResourceProvider -ProviderNamespace "Microsoft.RecoveryServices" Register-AzureRmResourceProvider -ProviderNamespace "Microsoft.Backup" # Get an existing resource group for our Recovery Vault (Updated the name as required) $ResourceGroup = Get-AzureRmResourceGroup -Name "CDC-RG01" # Create Recovery Services Vault (Change name as required) $RSVault = New-AzureRmRecoveryServicesVault -Name "CDC-Germany-2018-RSV02" ` -ResourceGroupName $ResourceGroup.ResourceGroupName -Location $ResourceGroup.Location # Set Vault Storage Redundancy To Locally Redundant Set-AzureRmRecoveryServicesBackupProperties -Vault $RSVault -BackupStorageRedundancy LocallyRedundant
To all the participants … I hope you enjoyed the conference as much as I did.
Until next time!
Thanks for locking my blog.
If you have any questions or feedback, please leave a comment.