To download H2O logs from the Databricks cloud, we need to have H2OContext already running. Let’s assume it’s available in the hc variable.

dbutils.fs.cp("file:/tmp/logs.zip", "/FileStore/logs.zip")

or in Python: