Difference between revisions of "ELK backup and restore"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html | https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html | ||
− | curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/ | + | curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/your_repo/your_latest_snapshot_name/_restore |
+ | "error": { "root_cause":[ | ||
+ | { | ||
+ | "type":"snapshot_restore_exception","reason":"[your_repo:snapshot-2022.07.11/iy0NiQdTSJ6dHTFMkiQJHQ] cannot restore index [.security-7] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name"}], | ||
+ | "type":"snapshot_restore_exception", | ||
+ | "reason":"[your_repo:snapshot-2022.07.11/iy0NiQdTSJ6dHTFMkiQJHQ] cannot restore index [.security-7] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name" | ||
+ | } | ||
Revision as of 15:22, 11 July 2022
https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html
curl -X POST --insecure https://your_elk_ip:YOUR_PASS@localhost:9200/_snapshot/your_repo/your_latest_snapshot_name/_restore
"error": { "root_cause":[ { "type":"snapshot_restore_exception","reason":"[your_repo:snapshot-2022.07.11/iy0NiQdTSJ6dHTFMkiQJHQ] cannot restore index [.security-7] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name"}], "type":"snapshot_restore_exception", "reason":"[your_repo:snapshot-2022.07.11/iy0NiQdTSJ6dHTFMkiQJHQ] cannot restore index [.security-7] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name" }
See also
- Elastic: ELK,
Elasticsearch
,Logstash
,Kibana
, Installation, AWS Elasticsearch, Elastic SIEM, Elastic Beats,metricbeat
,filebeat
,journalbeat
, Elastisearch Service , Search guard, Elasticsearch logs, curator, ILM, Lumberjack protocol,aws_elasticsearch_domain
, KQL,elasticsearch.yml, elasticsearch-plugin, elasticsearch-certutil
, Elasticsearch release notes/changelog - Backups: Data corruption, Business continuity planning, Bacula, Commvault, NetBackup, Veeam, Storage Lifecycle Policy (SLP), TeamCity backup, Backup docker containers, HP Data Protector, Unitrends, Acronis, Veeam Backup & Replication, Disaster Recovery (DR), Point-in-time recovery, RTO, RPO, PITR, Rewind
Advertising: