Azure File Sync - filenames downloaded to the sync agent on-prem

Peter 6 Reputation points
2020-12-17T14:48:53.117+00:00

In Azure Monitor, we can see files are being downloaded to the one and only sync server.

There should be files downloaded because of the nature, that the Azure File Share is only running as a synced backup. No system should edit files on the Azure File Share.

Is it possible to see the filename and path of those filenames last downloaded/synced?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,285 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. deherman-MSFT 37,081 Reputation points Microsoft Employee
    2020-12-17T23:41:06.327+00:00

    @PeterRichardt-4556

    Azure File Sync does not log every file that is synced. We only log when files fail to sync: Troubleshoot Azure File Sync

    If you are looking at “Bytes synced” metric and seeing download activity, you could enable logging on the Azure file share to determine who is updating the files and which files are updated.

    If your looking at the “Cloud tiering recall size” metric, look at Event ID 9059 on the server to determine which application(s) is recalling files.

    Edit: Also learned that if Commvault is being used to backup Azure file share, Commvault backup service by default sets the archive bit and the access time on the files.

    To prevent this, the user should change these settings:
    • Select “Preserve File Access Time“
    • De-select “Check archive bit during backups”

    Caveat: It does increase the backup time, but it should not be too much.

    Detailed instruction can be found here: https://documentation.commvault.com/commvault/v11/article?p=18475.htm

    Hope this helps! Let us know if you have further questions or issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  2. Peter 6 Reputation points
    2020-12-21T11:26:57.903+00:00

    I was able store the logs now to LogAnalytics and to create a query for the "upload" or better called creation.

    StorageFileLogs
    | where TimeGenerated > ago(1h) and Protocol == "SMB" and StatusCode <> "0" and OperationName == "Create"

    What could be the the "download query" look like? I created a file on Azure via Portal Website upload and can't find the download entry.

    Are u sure it is being created in Azure?


Your answer

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