Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi! A Question About Self Hosting In K8S. Wanted To Know What Is The Best Practice For Backing Up And Restoring The File Server (Experiments Data And Etc.) Is There A Dedicated Command? Maybe A Volume Snapshot At The K8S Level? I’M Looking For A Procedure

Hi!
A question about self hosting in k8s.
Wanted to know what is the best practice for backing up and restoring the file server (experiments data and etc.)
Is there a dedicated command? maybe a volume snapshot at the k8s level? I’m looking for a procedure that can completely restore state after a cluster teardown.

Thanks!

  
  
Posted one year ago
Votes Newest

Answers 13


Hi @<1528908687685455872:profile|MassiveBat21> , the fileserver can be backed up using a volume snapshot. As for the other databases (ES, Mongo), you should use the appropriate backup method recommended in their documentation

  
  
Posted one year ago

fileserver contains uploaded files (like debug samples, perhaps models and artifacts if you're not using S3 or the like), ES contains metrics and events and Mongo has all the metadata

  
  
Posted one year ago

Thanks for the response. So I’ll go with an automated snapshot.
What should I expect to be stored in ES and mongo, and what’s in the file server?

  
  
Posted one year ago

will a partial backup of just say mongo work? Or are all the dbs expected to restore together?

  
  
Posted one year ago

So projects/experiments -> mongo

  
  
Posted one year ago

OK, got it. Thank you @<1523701087100473344:profile|SuccessfulKoala55> !

  
  
Posted one year ago

Hi @<1523701087100473344:profile|SuccessfulKoala55> , just as an afterthought:
Since elastic and mongo data are stored in volumes too, couldn’t a restore simply mean restoring a snapshot of all those 3 volumes as a whole?

  
  
Posted one year ago

as to not create a snapshot of an unstable state?

  
  
Posted one year ago

(to back up as well, not just to restore)

  
  
Posted one year ago

exactly

  
  
Posted one year ago

I would assume so, but you'll have to shut down the entire system to do that

  
  
Posted one year ago

all are related

  
  
Posted one year ago

Alright, I see.
Thanks again

  
  
Posted one year ago
530 Views
13 Answers
one year ago
one year ago
Tags