# Snapshot & Minio

**URL:** <https://discuss.elastic.co/t/snapshot-minio/125075>\
**Category:** Elasticsearch\
**Created:** [March 21, 2018, 9:04pm UTC](https://discuss.elastic.co/t/snapshot-minio/125075 "2018-03-21T21:04:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitva77](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bitva77/32/66694_2.png) [@bitva77](https://discuss.elastic.co/u/bitva77)\
**Post date:** [March 21, 2018, 9:04pm UTC](https://discuss.elastic.co/t/snapshot-minio/125075/1 "2018-03-21T21:04:50Z")

</div>

Hi! Is it possible to change the S3 URL to be something custom? Like a Minio server, for example.

I tried setting `s3.client.default.endpoint`

to our internal Minio server yet ES is still trying to hit AWS.

I'm POST'ing this to \_snapshot/minio:

```
{
 "type": "s3",
 "settings": {
  "bucket": "elasticsearch",
  "compress": "true",
  "protocol": "http"
 }
}

```

I tried adding the endpoint as well to the data but ES is still trying to access AWS S3 and nothing custom.

Any clues would be greatly appreciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 22, 2018, 9:08am UTC](https://discuss.elastic.co/t/snapshot-minio/125075/2 "2018-03-22T09:08:45Z")

</div>

AFAIK we only officially support AWS endpoint for the `repository-s3` plugin. Anyway, could you change the logs for `org.elasticsearch.repositories.s3` and `com.amazon` packages?

```auto
PUT /_cluster/settings
{
  "transient": {
    "logger.org.elasticsearch.repositories.s3": "trace",
    "logger.com.amazon": "trace"
  }
}

```

And try again and paste the logs here or on [gist.github.com](http://gist.github.com)?

---

<div class="post-metadata">

**Author:** ![bitva77](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bitva77/32/66694_2.png) [@bitva77](https://discuss.elastic.co/u/bitva77)\
**Post date:** [March 22, 2018, 5:43pm UTC](https://discuss.elastic.co/t/snapshot-minio/125075/3 "2018-03-22T17:43:46Z")

</div>

Gotcha. Here's the logs: [https://gist.github.com/bitva77/fb0770bde78fa053cc949eec74e15bf3](https://gist.github.com/bitva77/fb0770bde78fa053cc949eec74e15bf3)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 10, 2018, 8:03am UTC](https://discuss.elastic.co/t/snapshot-minio/125075/4 "2018-04-10T08:03:49Z")

</div>

Apparently the endpoint is not set:

```auto
[2018-03-22T17:40:19,280][DEBUG][o.e.r.s.InternalAwsS3Service] [test] creating S3 client with client_name [default], endpoint []

```

Can you share your `elasticsearch.yml` file?  
Did you restart the node after adding `s3.client.default.endpoint`?

---

<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:** [May 8, 2018, 8:03am UTC](https://discuss.elastic.co/t/snapshot-minio/125075/5 "2018-05-08T08:03:58Z")

</div>

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