How To Create Recovery Services Vault in Azure with PowerShell #AzureBackup #CDCGermany

2 Min. Read

Yesterday I was speaking at the CDC Germany 2018, a big Cloud Conference community event focusing on the Microsoft Cloud OS Platform, held in Hanau, Germany. With national and international speakers, and over 400 attendees it was a great conference!

I presented a session about protecting on-premises workloads to Azure, and how you can leverage Azure Backup to achieve GDPR compliance. In this demo heavy session, I presented about Microsoft Azure Backup Server, System Center Data Protection Manager and Azure Backup (awesome technologies).

I had a full house during the session, great turn up, good questions as well as great, more in depth, discussions afterwards. I had a fun time presenting there. Many thanks to Rachfahl IT-Solutions GmbH & Co. KG and my fellow MVP Carsten Rachfahl for putting this event together.

How To Create Recovery Services Vault in Azure with PowerShell #AzureBackup #CDCGermany 2

During my session, I showed the attendees how to create a Recovery Services Vault in Azure with PowerShell.

If you are interested to leverage it in your environment, here is the copy of that code. This assumes that you have already installed AzureRM PowerShell module on your machine before you run the script.

# Import-Module Azure Resource Manager Module
Import-Module AzureRM.Resources

# Log into Azure tenant and select the desired Subscription 
$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

At the end of my session, Dominik Kowolik was selected as the winner, congratulations for the 100 Euro Amazon Voucher. Thanks to Altaro Software!

To all attendees… I hope you enjoyed the conference as much as I do.

Until next time!

How To Create Recovery Services Vault in Azure with PowerShell #AzureBackup #CDCGermany 3

Thank you for reading my blog.

If you have any questions or feedback, please leave a comment.

-Charbel Nemnom-



How To Disable Protection For HyperV VMs To AzureSiteRecovery #ASR #Azure #CDCGermany #MVPbuzz

How To Remove #AzureStack AD Applications From Azure Active Directory with PowerShell #AzureAD #ASDK


Let me know what you think, or ask a question...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Stay in Touch

Never miss out on your favorite posts and our latest announcements!

The content of this website is copyrighted from being plagiarized!

You can copy from the 'Code Blocks' in 'Black' by selecting the Code.

Please send your feedback to the author using this form for any 'Code' you like.

Thank you for visiting!