hamburger icon close icon

Azure Files Backup: Step By Step

What is Azure Files Backup?

Azure Files Backup provides cloud-based backup for data stored in Azure Files shares. The solution is designed to work natively with Azure Backup, which is the main backup service offered by Azure. To set this up, you need to integrate Azure File Sync with Azure Backup, and then you can securely centralize all your file share data and any backups you create. Once you set this up, you can configure backup and disaster recovery measures to ensure the protection of your data during disasters.

In this article, you will learn:

What are Azure Files Snapshots?

Azure Files lets you create point-in-time snapshots of file shares. You can use snapshots to recover data after accidental deletion, unwanted changes, or data corruption. Another use is for periodic backups of a file share, for disaster recovery purposes or to meet your auditing or compliance obligations.

Azure Files snapshots provide the following capabilities:

  • Create, delete, copy, and manage snapshots via Azure Portal, CLI, or REST API
  • Snapshots of a share are accessible via SMB protocol, similar to a live share—you can retrieve a file share’s contents and mount it as a drive
  • Retrieve data from file share snapshots at the individual file level, allowing users to retrieve specific files they lost or deleted
  • Retain snapshots for as long as required—until explicitly deleted or until the base file share is deleted
  • Easily track snapshots associated with a base file share

Take into account following snapshot limitations:

  • Snapshots cannot be modified after they are created
  • The snapshot copy operation does support copying a snapshot to another Azure storage account—you can do this manually using a file copy utility like AzCopy
  • You can have up to 200 snapshots per storage account
  • Snapshots can only protect file shares at the file level—for example, they cannot help recover from accidental deletion of an entire storage account. To protect against broader deletion scenarios, enable soft delete or lock the storage account.

How to Configure Azure Files Backup: Step by Step

Here are a few steps to guide you through the initial configuration:

1. Go to the Azure portallog into your account.

2. Create a Recovery Services vault—provides you with a storage entity you can use to view all of your backups across several workloads.

3. Choose a storage account—after creating the vault, Azure Backup looks for all storage repositories in your account. Choose the storage account containing your file shares.

         a. Once you choose an account, Azure Backup displays the sets of file shares in your account and stores their names in a management-layer catalog.

4. Configure a backup policy—schedules and retains backups based on your requirements.

5. Select the file shares—you want to back up. Azure Backup service will then register the schedules you have set up into the control plane.

qqqqq-1Source: Azure

After you set up the policy and enable it, the Azure Backup scheduler starts triggering backups according to the pre-configured timeframes.

Azure Files Backup: Behind the Scenes

Azure Files Backup: Behind the ScenesSource: Azure

Here are some architecture processes that work behind the scenes once backup is enabled:

  • Azure Backup creates file share snapshots using the File Share API. The system stores only the snapshot URL in the metadata pool.
  • The system lets you restore Azure file share contents from snapshots available on a source file share. You can either restore individual files or the entire share. Once this operation is triggered, the system retrieves the snapshot URL from the metadata pool. The data is then listed and shifted from a source snapshot to a target file share.
  • When using Azure File Sync with Azure Backup, the backup service determines the paths of restored files. This path triggers a background change detection process that runs on the files. All changed files are then synced to the server endpoint.
  • All backup and restore monitoring data is pushed into Azure Backup Monitoring. This process lets you monitor file share backups in one dashboard. Additionally, the monitoring service lets you set up your own alerts and email notifications for certain metrics that can let you know when backup health is affected.

Azure Files Backup Q&A

What is Azure Backup?

Azure Backup lets you create isolated and independent backups. You can use these backups to protect your data against accidental destruction. Azure stores your backups in Recovery Services vaults that come with a built-in management of recovery points. Azure Backup is relatively simple to configure and scale. The system optimizes backups, and lets you easily restore backups as needed.

What Determines the Overall Cost of Azure Backup?

Azure Backup is offered at fixed prices, calculated according to the number of protected instances. In addition to these costs, there are other factors that impact the overall cost. Storage and bandwidth costs for your backups are charged separately from the fixed instance pricing. When planning your backup strategy, remember to choose the storage space and bandwidth that suits your budget.

What is Azure File Storage?

Azure File Storage lets you access and store data in file formats that work both in the cloud and on-premises. You can set up access to Azure Files shares using the SMB protocol or a REST API. You can also use the Azure File Sync service. Once you set up this integration, you can share files between the Azure cloud and on-premise Windows Server instances.

Optimized Azure File Storage with Azure NetApp Files

Azure NetApp Files is another file storage alternative from Microsoft Azure built on NetApp technology, giving you enterprise file share capabilities that can support even your core business applications.

Get enterprise-grade data management and storage to Azure so you can manage your workloads and applications with ease, and move all of your file-based applications to the cloud.

Azure NetApp Files solves availability and performance challenges for enterprises that want to move mission-critical applications to the cloud, including workloads like HPC, SAP, Linux, Oracle and SQL Server workloads, Windows Virtual Desktop, and more.

Want to get started? See Azure NetApp Files for yourself with a free demo.

Cloud Data Services