# Using snapshot/restore with Searchgaurd

**URL:** <https://forum.search-guard.com/t/using-snapshot-restore-with-searchgaurd/337>\
**Category:** Search Guard\
**Created:** [December 14, 2016, 6:57pm UTC](https://forum.search-guard.com/t/using-snapshot-restore-with-searchgaurd/337 "2016-12-14T18:57:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jainin\_Shah](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@Jainin\_Shah](https://forum.search-guard.com/u/Jainin_Shah)\
**Post date:** [December 14, 2016, 6:57pm UTC](https://forum.search-guard.com/t/using-snapshot-restore-with-searchgaurd/337/1 "2016-12-14T18:57:46Z")

</div>

Hi,

We have an elasticsearch running in dev, qa and prod. All of them have searchguard on it. The one in dev does not have SSL enabled.

Is it possible to use the restore functionality ('[http://localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore](http://localhost:9200/_snapshot/my_backup/snapshot_1/_restore)) without SSL being enabled?

I would like it to work with the below query, not sure if it’s possible or not without SSL though

curl -Ss --insecure -XPOST ‘[http://localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore](https://localhost:9200/_snapshot/my_backup/snapshot_1/_restore)’ -E ch.pem --key example-pki-scripts/kirk.key.pem

Thank you

Jainin Shah

---

<div class="post-metadata">

**Author:** ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)\
**Post date:** [December 14, 2016, 10:55pm UTC](https://forum.search-guard.com/t/using-snapshot-restore-with-searchgaurd/337/2 "2016-12-14T22:55:08Z")

</div>

there is a PR for something like that [https://github.com/floragunncom/search-guard/pull/245](https://github.com/floragunncom/search-guard/pull/245)  
Will merge soon and include it in the upcoming version, hope this helps.

> **···**
>
> > Am 14.12.2016 um 19:57 schrieb Jainin Shah \<jainin@tresata.com\>:
> > 
> > Hi,
> > 
> > We have an elasticsearch running in dev, qa and prod. All of them have searchguard on it. The one in dev does not have SSL enabled.
> > 
> > Is it possible to use the restore functionality ('[http://localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore\](http://localhost:9200/_snapshot/my_backup/snapshot_1/_restore%5C)) without SSL being enabled?
> > 
> > I would like it to work with the below query, not sure if it's possible or not without SSL though
> > 
> > curl -Ss --insecure -XPOST '[http://localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore&#39](http://localhost:9200/_snapshot/my_backup/snapshot_1/_restore&#39); -E ch.pem --key example-pki-scripts/kirk.key.pem
> > 
> > Thank you
> > 
> > Jainin Shah
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > To post to this group, send email to search-guard@googlegroups.com.  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/3ecb1410-4b00-4ef0-9db8-e2634fcba642%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/3ecb1410-4b00-4ef0-9db8-e2634fcba642%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).
