# Backup ELK data on a URL

**URL:** <https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557>\
**Category:** Elasticsearch\
**Created:** [February 20, 2018, 5:27am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557 "2018-02-20T05:27:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [February 20, 2018, 5:27am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/1 "2018-02-20T05:27:27Z")

</div>

Hi,  
Is there any way that I can take the snapshot of Elastic search data and push it to an URL (http) like an JFROG Artifactory ([https://jfrog.com/artifactory](https://jfrog.com/artifactory)).  
Thanks !

---

<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 20, 2018, 6:14am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/2 "2018-02-20T06:14:06Z")

</div>

Yep - [https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-snapshots.html#\_read\_only\_url\_repository](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/modules-snapshots.html#_read_only_url_repository)

---

<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:** [February 20, 2018, 6:27am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/3 "2018-02-20T06:27:29Z")

</div>

Not really. URL repo is read only.

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [February 20, 2018, 7:44am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/4 "2018-02-20T07:44:49Z")

</div>

Thanks for your reply @dadoonet

Okay, does it mean, we can only get the snapshots from URL, but no way to post the snapshot on the URL ?

I've found this [https://www.elastic.co/blog/found-elasticsearch-snapshot-and-restore](https://www.elastic.co/blog/found-elasticsearch-snapshot-and-restore)

curl -XPUT https://-eu-west-1.foundcluster.com:9243/\_snapshot/myRepo -d'  
{  
"type": "s3",  
"settings": {  
"bucket": "myBucket",  
"region": "eu-west-1",  
"base\_path": "myCluster"  
}  
}'

Am trying something similar... wanted to post the snapshots on the artifactory and read it from there when needed. Please let me know. Thanks !

---

<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:** [February 20, 2018, 8:01am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/5 "2018-02-20T08:01:31Z")

</div>

I don't know how Artifactory works and what are the available API there.  
But we only support HDFS, Shared FS, S3, Azure and GCS as standard platforms to make snapshot to.

Anything else has to be built as a Java Plugin IMO.

Some people are doing Snapshots to S3 then exposing the S3 bucket as available on HTTP and are using this URL repository as a readonly one (so they can restore from the URL).

May be there is a way to sync a directory with Artifactory (like Rsync?) In which case you could create a shared FS repository, snapshot to it, sync to artifactory?

---

<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 20, 2018, 8:01am UTC](https://discuss.elastic.co/t/backup-elk-data-on-a-url/120557/6 "2018-03-20T08:01:43Z")

</div>

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