** This article was originally written about the preview of Blob versioning, the feature was made generally avaialble in September 2020 **
AWS S3 buckets have a concept of versioning files, until recently there has been no equivalent of this in Azure and people have needed to put workarounds in place to “replicate” this functionality. As of September 2020, Azure released Blob Versioning. When enabled every time an update operation occurs on a blob a new version is created. Each version can then be retrieved independently.
Now there are equivalent services in AWS and Azure, it is useful to be able to migrate content from one to the other. To that end I have created a couple of powershell scripts.
Each blob version is tagged with the equivalent AWS version id (there is no control over the blob version id that is allocated).
When a blob is uploaded to a storage account the version id is returned in the
Specific blob versions can be retrieved from storage by making a get request and passing the version id in with it (you will need to pass access tokens as described here).