How to Backup Azure file shares with #AzureBackup #ASR #AFSB #Azure

Backup for Azure file shares is something that is a feature that we all want. Azure Files is a cloud-first file share solution with support for industry standard SMB protocol. Azure Backup enables a native backup solution for Azure file shares, a key addition to the feature arsenal to enable enterprise adoption of Azure Files. Using Azure Backup, via Recovery Services vault, to protect your file shares is a straightforward way to secure your files and be assured that you can go back in time instantly.

If you want to read my old blogs about Azure backup https://robertsmit.wordpress.com/tag/azure-backup/

Below is a schematic on how the Backup for Azure File Shares Works.

Backup for Azure File Shares

Key features

  • Discover unprotected file shares: Utilize the Recovery Services vault to discover all unprotected storage accounts and file shares within them.
  • Backup multiple files at a time: You can back up at scale by selecting multiple file shares in a storage account and apply a common policy over them.
  • Schedule and forget: Apply a Backup policy to automatically schedule backups for your file shares. You can schedule backups at a time of your choice and specify the desired retention period. Azure Backup takes care of pruning these backups once they expire.
  • Instant restore: Since Azure Backup utilizes file share snapshots, you can restore just the files you need instantly even from large file shares.
  • Browse individual files/folders: Azure Backup lets you browse the restore points of your file shares directly in the Azure portal so that you can pick and restore only the necessary files and folders.

How to start with the Azure File share backup

First we make a backup vault that holds all the backups.

image

In the Azure Recovery services Vault I created a new vault that holds my file share backup.

Doing this with powershell :

$vaultname="Azure-Fileshare-Vault02"
$rsgroup="AFS-BV-02"
$Location="West US"

Get-AzureRmRecoveryServicesVault
New-AzureRmResourceGroup -Name $rsgroup -Location $Location
New-AzureRmRecoveryServicesVault -Name $vaultname -ResourceGroupName $rsgroup -Location $Location

Now we open the just created backup vault and add a Backup job

image

Adding the Azure Backup job

image

As you can see the new Azure FileShare option is there.  If you want to do this with Powershell keep in mind that you will need the latest updates and as this is a preview it might change in the next version as currently there is only the -WorkloadType "AzureVM" option there.

image

Now we select the storage account that holds the file share.

image

It could take some time for the validation.

image

Now that the file share is selected, we can make a backup policy. Or use one that you already created.

image

After establishing a backup policy, a snapshot of the File Shares will be taken at the scheduled time, and the recovery point is retained for the chosen period.

image

Then finally we enable the backup. There will be a initial backup created.

image

When you check the backup jobs in you backup vault you can see the just created file share backup.

image

Just wait for the first backup or go to the job an right click and do a backup now.

image

You can also create an ondemand backup or stop the backup. 

image

With the backup now you can force to backup the FileShare.

image

If you double click the backup item and go to …more you can Stop the backup or even delete the backup.

Azure File Share Restore

image

Well the Azure FileShare Restore is easy, Pick restore in the menu and pick a restore point.

image

You can pick the original location but an alternate location can also be used. This is a great option on selecting the files or place the restored files on a different locations to sort out the files first.

 

Follow Me on Twitter @ClusterMVP

Follow My blog https://robertsmit.wordpress.com

Linkedin Profile Robert Smit MVP Linkedin profile

Google  : Robert Smit MVP profile

Bing  : Find me on Bing Robert Smit

LMGTFY : Find me on google Robert Smit

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009. Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries. Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications: MCT - Microsoft Certified Trainer, MCTS - Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization. Follow Robert on Twitter @ClusterMVP Or follow his blog https://robertsmit.wordpress.com Linkedin Profile Http://nl.linkedin.com/in/robertsmit Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues. A customer says " Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. " Details of the Recommendation: "I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

%d bloggers like this: