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
Hey, I Have Clearml Install On-Prem K8S. Anyonw Know How Can I Backup The Data , In Case Of Dr? I Do Not Care For Username \ Passwords \ Pipeline Settings, But The Data From All The Tasks Is Important For Us

Hey, I have clearml install on-prem k8s.
Anyonw know how can I backup the data , in case of DR? I do not care for username \ passwords \ pipeline settings, but the data from all the tasks is important for us

  
  
Posted 8 days ago
Votes Newest

Answers 3


Hi WorriedSwan6 , ClearML uses ElasticSearch & MongoDB as databases for all of that information. I suggest checking online for backup procedures of these databases in K8s

  
  
Posted 8 days ago

image

  
  
Posted 6 days ago

Hey CostlyOstrich36 , thx for the reply.
Can you advice if you think this will be the right path to go:

  • Mongodb backup via mongodump to s3,
  • Elasticsearch Install the S3 repository plugin and create a snapshot.The above can be triggered with cronjob once a week.

On restore to a fresh cluster, I will install clearml helm chart, and:

  • Mongodb will download the file from S3 and use mongorestore
  • Elasticsearch will download the snapshot from s3 and use:
curl -X POST "localhost:9200/_snapshot/snapshot-repo/<snapshot_name>/_restore" -H "Content-Type: application/json" -d '{
  "indices": "<index_pattern>",
  "ignore_unavailable": true,
  "include_global_state": false
}'

?

At the moment I tried to just copy-past the volumes from one clearml to another (for both mongodb and elasticsearch), and I can see the projects and tasks, but not the CONFIGURATION, ARTIFACTS, SCALARS or PLOTS (shows as "no log data" \ no chart data")

  
  
Posted 6 days ago
39 Views
3 Answers
8 days ago
6 days ago
Tags