Backup of runtime folders and files during runtime

Backup of runtime folders and files during runtime

Hi,

I want to make a backup of the runtime folders and its files (like AML, CEL, Recipes) while the runtime is running.
The user should be able to trigger the backup at any time during runtime.

Can I simply copy the runtime folder and its files to another directory or would this lead to potentially corrupted files which could be written by the runtime at the same time while I am copying them?

Does the runtime save these files "line by line" or at once (I think no corrupted files would be copied then)?

Best regards
Leon

This is a migrated post! Originally posted on 17.05.2022 by user steinbal. Please be aware that information can be outdated.