Azure Files, File Sync and Data Transfer: Shares, Snapshots, AzCopy, Storage Explorer, Import/Export and Data Box

Microsoft Certified Azure Administrator Associate AZ 103 60 min min read Updated: Nov 17, 2026 Intermediate
Azure Files, File Sync and Data Transfer: Shares, Snapshots, AzCopy, Storage Explorer, Import/Export and Data Box
Intermediate Topic 3 of 3

Azure Files

  • Fully managed SMB (and NFS on premium) file shares in the cloud
  • Replaces or extends on-premises file servers
  • Tiers: Premium (SSD), Transaction optimized, Hot, Cool
bash az storage share-rm create -g rg-demo --storage-account stdemo482 -n teamshare --quota 100 --access-tier TransactionOptimized az storage share-rm list -g rg-demo --storage-account stdemo482 -o table

Mount a Share

powershell # Windows (port 445 must be open) $key = "<storage-key>" cmd.exe /C "cmdkey /add:stdemo482.file.core.windows.net /user:localhost\stdemo482 /pass:$key" New-PSDrive -Name Z -PSProvider FileSystem -Root "\\stdemo482.file.core.windows.net\teamshare" -Persist
bash # Linux sudo mkdir -p /mnt/team sudo mount -t cifs //stdemo482.file.core.windows.net/teamshare /mnt/team -o username=stdemo482,password=<key>,serverino,vers=3.0
Port 445 Some internet providers block outbound port 445. Use a VPN or ExpressRoute, or a private endpoint, when mounting from on-premises.

Snapshots and Backup

bash az storage share snapshot --account-name stdemo482 -n teamshare az storage share list --account-name stdemo482 --include-snapshots -o table
  • Snapshots are read-only point-in-time copies. Enable soft delete for shares
  • Use Azure Backup for scheduled share backup

Azure File Sync

  1. Create a Storage Sync Service in Azure
  2. Create a sync group with a cloud endpoint (your Azure file share)
  3. Install the File Sync agent on a Windows Server and register it
  4. Add a server endpoint (a folder path)
  5. Turn on cloud tiering: free space threshold keeps hot files local, cold files become stubs in the cloud
  • Several servers can sync one share, giving branch offices fast local access
  • Protect the share with Azure Backup

Move Data Online

bash azcopy login azcopy copy "C:\data\*" "https://stdemo482.blob.core.windows.net/images" --recursive azcopy sync "C:\data" "https://stdemo482.blob.core.windows.net/images" --recursive azcopy copy "https://stdemo482.file.core.windows.net/teamshare?<SAS>" "./backup" --recursive
  • AzCopy: fast, resumable command line copy
  • Storage Explorer: graphical tool to browse and transfer
  • Data Factory for scheduled pipelines

Move Data Offline

OptionUse
Azure Import/ExportShip your own disks for large transfers (check current availability)
Data Box DiskUp to about 35 TB with SSDs sent to you
Data BoxAbout 80 TB appliance
Data Box HeavyHundreds of TB

Rule of thumb: if online transfer will take more than about a week, consider a Data Box.

Practice

  1. Create a file share and mount it on a VM
  2. Take a snapshot and restore one file
  3. Use AzCopy to upload a folder
  4. Explain cloud tiering in two sentences

Conclusion

Azure Files replaces file servers. File Sync gives local caching with cloud tiering, and AzCopy, Storage Explorer or Data Box move data online or offline depending on size and time.

Quick Summary: Files; mount; snapshots; File Sync; online; offline.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators