Azure File Sync
Last updated:
AZURESTORAGE
You might have [[202406291221 Azure Files|Azure Files]] But the on-prem file server might still be there.
It enables:
- Single cloud endpoint per sync group
- A change detection job is initiated for a cloud endpoint only once every 24 hours
- On windows server sync is automatic when file is changed
- can not have more than one server endpoint from the same server in the same sync group
- Up to 100 servers per sync group
- Replicates between via the cloud endpoint
- Enables cloud tiering of data off local storage to cloud endpoint to optimize local capacity
You create a sync group in [[202312231415 Azure Master|Azure]] which. allows sync between on-prem and [[202406291221 Azure Files|Azure Files]]
flowchart TB
AzureFileShare <--> OnPremFS1 & OnPremFS2
- Does not overwrite any files
- Appends conflict number and keeps both files.
- The latest file keeps the original name
- Upto 100 conflicts per file
Deploy
- Prepare Windows server
- Disable internet enhanced security protection
- Deploy Storage sync service
- Deploy Azure File Sync Agent to on-prem server
- Register on-prem server with storage sync service
- Create a sync group and a cloud endpoint
- Create a server endpoint
references:
MS Learn MS Docs Planning for an Azure File Sync deployment File sync FAQ
To immediately sync files that are changed in the Azure file share, the Invoke-AzStorageSyncChangeDetection PowerShell cmdlet