2

I have a client using Azure file storage (v1) to host some binary files (images, pdfs, etc) for a web app. I'd like to add versioning support in case files get deleted or overwritten, kind of like AWS S3 has. I know Azure Blob storage's newest version supports soft delete but that is still not enough for my needs and, like I said, they're using File Storage.

How can I add robust versioning support to their Azure File storage. My best thought so far is to use Git LFS, with Git being hosted in VSTS and the versioned files going into another Azure File Storage account. That might require a VM to map the drive and everything. I'm not sure. Are there any better ways to do this? Will my idea work?

Thanks!

1 Answer 1

6

One way you can achieve what you are looking for would be to use share snapshots. Share snapshots are similar to what you might achieve on a Windows volume with VSS, and files will even show up under the "Previous Versions" for a file in Windows when the share is mounted over SMB.

Here are some references on share snapshots:

Hope this helps,

Will Gries Program Manager, Azure Files

2
  • Thanks! This looks like exactly what I need. Too bad its not out of preview yet. :-( This is for production, so I might have trouble selling the client on it. Feb 28, 2018 at 22:32
  • Snapshots have reached general availability! Woo! azure.microsoft.com/en-us/blog/… Apr 2, 2018 at 20:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .