# Snapshot issue when running policy using Alibaba cloud S3

**URL:** <https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [February 5, 2023, 12:07pm UTC](https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731 "2023-02-05T12:07:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![h.allaoui](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@h.allaoui](https://discuss.elastic.co/u/h.allaoui)\
**Post date:** [February 5, 2023, 12:07pm UTC](https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731/1 "2023-02-05T12:07:08Z")

</div>

Hi Community,  
I setup a repo using Alibaba cloud S3 storage and when I run an immediate snapshot it is working but when I run a snapshot policy based on that repo I am getting below error.

```auto
{
  "type": "repository_exception",
  "reason": "[xxxx-alibaba-backup] Could not read repository data because the contents of the repository do not match its expected state. This is likely the result of either concurrently modifying the contents of the repository by a process other than this cluster or an issue with the repository's underlying storage. The repository has been disabled to prevent corrupting its contents. To re-enable it and continue using it please remove the repository from the cluster and add it again to make the cluster recover the known state of the repository from its physical contents."
}

```

Please advise.

Thanks & Best Regards,

Hamid Allaoui

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 5, 2023, 10:20pm UTC](https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731/2 "2023-02-05T22:20:36Z")

</div>

I don't believe we test against this service, so it might be hard to get you a resolution.

Is there anything in the Elasticsearch logs that references this?

---

<div class="post-metadata">

**Author:** ![h.allaoui](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@h.allaoui](https://discuss.elastic.co/u/h.allaoui)\
**Post date:** [February 6, 2023, 6:41am UTC](https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731/3 "2023-02-06T06:41:35Z")

</div>

Thank you for your reply Mark.  
I will check if I can find more logs on that issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 6, 2023, 6:41am UTC](https://discuss.elastic.co/t/snapshot-issue-when-running-policy-using-alibaba-cloud-s3/324731/4 "2023-03-06T06:41:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
