Does storage account object replication replicate deletion of files and are we able to alter the behavior?

Althaus, Benedikt 21 Reputation points
2020-10-19T15:29:55.057+00:00

If we add storage account replication to existing storage accounts to replicate blobs, are deletion of files also replicated to the target storage account?

And are we able to alter the behavior in the way, that we keep replicated files if they are deleted in the source?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,874 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 35,011 Reputation points Microsoft Employee
    2020-10-19T18:49:26.027+00:00

    @Althaus, Benedikt

    Per the documentation. After you configure object replication, Azure Storage checks the change feed for the source account periodically and asynchronously replicates any write or delete operations to the destination account. However, as part of the requirements, blob versioning needs to be enabled for both source and destination accounts. When you delete a blob with versioning enabled, Azure Storage creates a version that captures the state of the blob before it was deleted. The current version of the blob is then deleted, but the blob's versions persist, so that it can be re-created if needed.

    Hope this answers your question. If you have further questions or issues please let us know.

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

    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful