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 1

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 2

Thank you for reading my blog.

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

-Charbel Nemnom-


About Charbel Nemnom 579 Articles
Charbel Nemnom is a Cloud Architect, Swiss Certified ICT Security Expert, Microsoft Most Valuable Professional (MVP), and Microsoft Certified Trainer (MCT), totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 17 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize the performance of mission-critical enterprise systems. Excellent communicator is adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design, business continuity, and cloud security.

Be the first to comment

Leave a Reply

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