# Using minio for elastic snapshots

**URL:** <https://discuss.elastic.co/t/using-minio-for-elastic-snapshots/131991>\
**Category:** Elasticsearch\
**Created:** [May 15, 2018, 7:23pm UTC](https://discuss.elastic.co/t/using-minio-for-elastic-snapshots/131991 "2018-05-15T19:23:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijazadm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ijazadm/32/26662_2.png) [@ijazadm](https://discuss.elastic.co/u/ijazadm)\
**Post date:** [May 15, 2018, 7:23pm UTC](https://discuss.elastic.co/t/using-minio-for-elastic-snapshots/131991/1 "2018-05-15T19:23:46Z")

</div>

hi

I followed this article to setup minio for elasticsearch snapshots for my local cluster and local minio storage:

> **[Storing Snapshots in Elastic Cloud Enterprise with Minio](https://www.elastic.co/blog/storing-snapshots-in-elastic-cloud-enterprise-with-mino)**
>
> Running Elastic Cloud Enterprise on premise? You still need a good backup strategy. In this post we use Minio, a popular open-source object storage solution.

I have setup the keys in elasticsearch key store accoding to the documentation.

My query:

```
PUT _snapshot/my_s3_repository
{
   "type": "s3",
   "settings": {
  "bucket": "elasticsearch",
  "endpoint": "my-fqdn:9000",
  "protocol": "http"
  
   }
}

```

error:

```
{
  "error": {
    "root_cause": [
      {
        "type": "sdk_client_exception",
        "reason": "sdk_client_exception: Unable to execute HTTP request: elasticsearch.my-fqdn"
      }
    ],
    "type": "repository_exception",
    "reason": "[my_s3_repository] failed to create repository",
    "caused_by": {
      "type": "sdk_client_exception",
      "reason": "sdk_client_exception: Unable to execute HTTP request: elasticsearch.my-fqdn",
      "caused_by": {
        "type": "i_o_exception",
        "reason": "elasticsearch.my-fqdn"
      }
    }
  },
  "status": 500
}

```

also , I have configued the endpoint in the elasticsearch yml file according to the documentation.

```
s3.client.default.endpoint: "my-fqdn:9000"
s3.client.default.protocol: http

```

The keys for that default endpoint are placed in the elasticsearch keystore. [do i need to specify them somewhere else ? , but i think this problem doesnt seem to be related to keys]  
any help?

---

<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:** [June 12, 2018, 7:23pm UTC](https://discuss.elastic.co/t/using-minio-for-elastic-snapshots/131991/2 "2018-06-12T19:23:56Z")

</div>

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