Knime Server Backup

Hello,

we are planing to Backup our Knime Server Installation frequently, devided in the installation and the workflows folder ; one backup per user.

Is it necessary to shutdown the Knime-Server for file consistency (I guess it is).
If so , how can I realize , if currently workflows are executed, because performing a shutdown would lead to inconsistency .
Are there any java-api’s / workflow-nodes which can be used for this purpose?
In the case of an executing workflow , it would be o.k. to ommit the backup.

Greetings B.Kochs

Hi @b_kochs,

It is not necessary to shutdown the server during backup for consistency. If you create a backup while the server is up and running, the backup will not include any jobs currently in memory. This includes jobs that are currently executing, as well as jobs that are already finished, but have not been swapped to disk yet (by default, jobs are swapped after one hour).

Based on your description, it appears that it’s not a problem for you if the backup doesn’t include executing jobs. Is this also the case for jobs that are already finished, but have not been swapped to disk yet? In case you need those, you can also trigger the swapping via REST API.

Hope that helps!

Cheers,
Roland