🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/upfluence/coreos-elasticsearch

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/upfluence/coreos-elasticsearch

v0.0.0-20241024133321-b04d6010baa8
Version published
Created

Snapshot script

  • Registry a snapshot repository
curl -XPUT -H 'Content-Type: application/json' 'http://localhost:9200/_snapshot/s3_backup' -d '{"type": "s3", "settings": { "bucket": "bucket_name"}}'
  • Create a snapshot
curl -XPUT http://localhost:9200/_snapshot/s3_backup/daily_$((`date + '%j'` % 4))?wait_for_completion=true
  • Restore a snapshot
curl -XPOST http://localhost:9200/_snapshot/s3_backup/daily_$(((`date + '%j'` - 1) % 4))/_restore

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts