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 All, I Have A

Hi all,
I have a trains-server (self-host) on a EC2 machine.
The version of it is older then 0.16.

I like to move to ClearML-server on different machine but keep my data.
What process should I do?

I saw this process: https://allegro.ai/docs/deploying_trains/trains_server_es7_migration/
Does it work the same for ClearML? and how can I do it on new machine?

Thanks 🙂

  
  
Posted 3 years ago
Votes Newest

Answers 22


Sure 🙂 - Elastic takes a long time to reindex 😄

  
  
Posted 3 years ago

You mean the migration from Trains Server 0.15 to 0.16?

  
  
Posted 3 years ago

how long? 😅
I am now stuck in
Copying index events-training_stats_scalar-d1bd92a3b039400cbafc60a7a5b1e52b
for more then 40 min 😥

  
  
Posted 3 years ago

Do you have a lots of data on the server?

  
  
Posted 3 years ago

Hi AppetizingMouse58 , I had around 200GB when I started the migration now I have 169GB/
And yes, It looks it is growing was 9.4GB and now 9.5G

  
  
Posted 3 years ago

The script is running for more then 45 min, does it regular?

  
  
Posted 3 years ago

it took around 50 min but it now finish the backup..Thanks

  
  
Posted 3 years ago

Thanks I will take a look 👀

  
  
Posted 3 years ago

I think you're good - ES takes a long time reindexing very large amounts of data, especially if you machine is not a monster 🙂

  
  
Posted 3 years ago

Hi SuccessfulKoala55 Thanks for the replay..

So for now, if I like to upgrade to the latest trains-server but on another machine and keep all the data.
what is the best practice?

Thanks again 🙂

  
  
Posted 3 years ago

SuccessfulKoala55 it still stuck on the same line .. does it should be like this?

  
  
Posted 3 years ago

yep

  
  
Posted 3 years ago

the elastic folder is around 30GB

  
  
Posted 3 years ago

To move your data from one machine to another, see "Backing up and restoring data and configuration" in https://allegro.ai/docs/deploying_trains/trains_server_linux_mac/

  
  
Posted 3 years ago

Hey SuccessfulKoala55 again, how long does the migration script should take?

  
  
Posted 3 years ago

Hi CooperativeFox72 ,
The ClearML Server was not yet released - it should be out within several days. Once it's out, the upgrade instructions will include a section addressing your exact situation.
In short, yes, the same process would apply, with a tiny additional step 🙂

  
  
Posted 3 years ago

It is stuck, or do you keep seeing output from the script?

  
  
Posted 3 years ago

yes it looks like this.. I just wanted to understand if it is should be so slow.. or I did something wrong

  
  
Posted 3 years ago

it stuck on Creating the backup file: /opt/trains/data/elastic_5.tar.gz

  
  
Posted 3 years ago

So I guess it's just lots of data...

  
  
Posted 3 years ago

Hi CooperativeFox72 , how much free space do you have on your disk now? If you run du on your /opt/trains/data/elastic_7 folder in let's say 5 mins intervals do you see the folder size is growing?

  
  
Posted 3 years ago

Well, 30GB might take a long time... AppetizingMouse58 do you have an idea?

  
  
Posted 3 years ago