Share via

Synchronize Windows Fileshare On-premise to Azure Files

Andhika Saputra 40 Reputation points
2026-03-11T23:04:23.2166667+00:00

Hello,
I'm currently trying to synchronize my on-premises Windows fileshare with Azure Files. I've tried Azure File Sync before, but unfortunately, it's not available in the Indonesia Central region. Are there any alternative tools for synchronizing on-premises fileshares with Azure Files? Could you please provide details on alternative solutions compared to Azure File Sync?

Thanks.

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.

{count} votes

1 answer

Sort by: Most helpful
  1. Venkatesan S 4,660 Reputation points Microsoft External Staff Moderator
    2026-03-12T00:14:11.18+00:00

    Hi Andhika Saputra,

    Thanks for reaching out in Microsoft Q&A forum,

    Are there any alternative tools for synchronizing on-premises fileshares with Azure Files? Could you please provide details on alternative solutions compared to Azure File Sync?

    Robocopy stands out as the most straightforward Azure-native option for mirroring on-premises Windows shares to Azure Files over SMB. Schedule it via Task Scheduler or Azure Automation Runbooks for regular one-way syncs.

    Approach:

    Use this battle-tested Robocopy command for efficient mirroring:

    robocopy \\onprem\share \\azurestorage.file.core.windows.net\share /MIR /Z /R:3 /W:5 /MT:32 /LOG+:C:\logs\sync.log
    
    • /MIR mirrors source (copies new/changed files, deletes extras in dest)
    • /Z enables restartable mode for network hiccups
    • /MT:32 uses 32 threads for speed
    • Logs output for troubleshooting

    Monitor jobs via Azure Monitor or Log Analytics for bandwidth, errors, and completion.

    Other Azure-Native Paths

    • AzCopy for seeding: Great for initial bulk uploads to Azure Files (azcopy copy from local SMB mount), then switch to Robocopy for deltas.
    • Data Box Offline: Ships massive datasets to Azure datacenter, followed by Robocopy increments.
    • Azure NetApp Files: If available in nearby regions, use its snapshot-based mirroring for SMB shares with better performance.

    Reference:

    Kindly let us know if the above helps or you need further assistance on this issue.

    Please do not forget to 210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.