136k views
3 votes
What happens with duplicate files on Azure File sync

User TheBaj
by
7.0k points

1 Answer

5 votes

Final answer:

Duplicate files on Azure File Sync are handled differently depending on the synchronization mode. In Sync only mode, duplicates are overwritten based on the 'Last Modified' timestamp. In Cloud only mode, all files, including duplicates, are synchronized to the cloud storage account without deduplication.

Step-by-step explanation:

Duplicate files on Azure File Sync are handled differently depending on the synchronization mode set for the server endpoint. In the case of the Sync only mode, which is the default mode, duplicate files are overwritten based on the 'Last Modified' timestamp. The latest version of the file will be synchronized and the older version will be replaced. However, in the 'Cloud only' mode, all files, including duplicates, are synchronized to the cloud storage account, and no deduplication is performed by Azure File Sync.

For example, let's say you have two files named 'Report.docx': one in the local file server and another in the cloud storage account. If the file on the local file server is modified, Azure File Sync will compare the 'Last Modified' timestamp with the version in the cloud. If the local file is newer, it will overwrite the cloud version. If the cloud version is newer, it will overwrite the local file.

It's important to note that Azure File Sync does not automatically delete duplicate files. If you have duplicate files on both the local file server and the cloud storage account, they will remain as separate files.

User Andbamnan
by
7.3k points