~/talk

Restore and Backup Elasticsearch Indices

Talkat OSBConf 2018 · on Wednesday, 2018-09-26· [databases]
links:none on file
slides:none on file

Explains how Elasticsearch snapshots work and gives actionable steps: register a repository, prefer NFS shared filesystem mounted on every node (or use S3/Azure/GCS/HDFS where available), trigger snapshots via curl + snapshot API with options like partial, include_global_state, and index filters, adjust replica counts when restoring, and automate retention and selection with a Curator-style job. Shows examples of failing edge cases (partial corrupt shards, missing repository) and demonstrates automation with bareos for scheduled backups; the demo mostly works but lap-over issues are fixed in the linked GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 1:04Who am I
  3. 2:14Elastic Search
  4. 4:42Shards
  5. 6:19Where to backup
  6. 8:28Backup method
  7. 11:45Conclusion
  8. 12:27Repo
  9. 14:42NFS
  10. 16:03Building the base
  11. 16:45Announcing the repository
  12. 17:47Compression settings
  13. 19:04Repository options
  14. 20:47Working with snapshots
  15. 22:56Considerations for snapshots
  16. 23:24In Plex
  17. 27:51Why to restore
  18. 29:48Historical search
  19. 30:26Single shot
  20. 31:26GitHub
  21. 33:38Create Repository
  22. 37:34Verify Repository
  23. 39:28Snapshot
  24. 52:23Troubleshooting
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.