Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Protect Azure File Shares with Azure Backup

  • April 23, 2019
  • 6 min read
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.

Thanks to Azure Files, you are able to store your company data and give access to them through SMB. For example, you may have deployed Azure File Sync to synchronize files with Azure. In this kind of solution, the files are stored in an Azure Files. Because your files are sensitives, you want to backup them in case of disaster or “user miss click”. To protect these files, you can use Azure Backup that provide a protection for Azure File Shares. This feature is in preview since last year and should be available this year. Azure Backup provides instant recovery (even for large files) and file-level restore. In this topic, we will see how to protect Azure File Shares with Azure Backup.

Requirements

To follow this topic, you need the following resources:

  • A storage Account with a file share. I called mine MyFiles.
  • An Azure Recovery Service Vault

Protect Azure File Shares

Open the Azure Recovery Service Vault and select + Backup.

Open the Azure Recovery Service Vault and select + Backup

Then select Azure as location for the running workload and Azure File Share as workload to backup.

Select Azure as location for the running workload

In Storage Account, select the one that contains your data.

Select the one that contains your data

Then select the File Shares you want to protect. You can see that the File Shared is Sync Enabled because Azure File Sync is configured for this share.

Select the File Shares you want to protect

Next you can configure the backup policy. Provide a name and configure the backup schedule and the retention. Currently, only daily backup is available. And that’s it: you finished to configure the backup.

Provide a name and configure the backup schedule and the retention

By selecting your backup, you can monitor the backup status.

monitoring the backup status

How to restore files from Azure Backup

By selecting the backup item, you can start a backup job now and restore files. Two options are available to restore data:

  • Restore Share: this option will restore all files and folders in the share
  • File Recovery: this option enables to restore only wanted files.

For this example, I choose File Recovery.

File Recovery: this option enables to restore only wanted files

Next, I choose the wanted restore point. Thanks to Azure Backup you can parse each restore point from the Azure Portal.

Choose the wanted restore point

Then several options are provided. You can restore in the original location or somewhere else. In case of conflict you can overwrite or skip. And by clicking on Select File you can select the items you want to restore.

And by clicking on Select File you can select the items you want to restore

Select the file you want to restore and click on OK.

Select the file you want to restore and click on OK

You can restore several files with the same job. However you can select file one by one by clicking on Select File.

Select file one by one by clicking on Select File

When OK is selected, the restore job is launched and your file are restored.

Found Romain’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!