Archiving Files in Azure files

Gary Zhou 1 Reputation point
2024-07-24T18:09:19.2+00:00

Are there build in features in Azure Files to archive file or move file to another place for archiving purpose. for example, if a file is untouched for certain period of time, the file will be moved to blob storage for long term storage. It is cost saving and also improve Azure Files performance.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,013 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,985 Reputation points MVP
    2024-07-24T18:33:08.7566667+00:00

    Azure Files itself doesn't have a built-in feature to archive files to Blob storage automatically

    However, you can use Azure Blob storage lifecycle management policies

    https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview

    To achieve this you can some workflow like this

    start with azure function (you can run daily) to list files in Azure Files and check their last modified date and transfer those files to Blob Storage

    then you can configure a lifecycle management policy to move archived files to a cooler storage tier


  2. KarishmaTiwari-MSFT 20,207 Reputation points Microsoft Employee
    2024-07-24T20:23:51.3333333+00:00

    @Gary Zhou

    Additional to lifecycle management policies as shared by Sedat above,

    You can also use Azure Data Factory to create pipelines that move files from Azure Files to Blob Storage. This can be set up to run on a schedule or triggered by specific events.

    You can provide your feedback/feature request here for the product team: https://feedback.azure.com/d365community/forum/a8bb4a47-3525-ec11-b6e6-000d3a4f0f84


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.