Hello,
so I have this task - after about 8 years of running NR used for aggregating data we finally decided to migrate from v1.0.6 to latest. Ofcourse the system have to run 24/7 without any longer shutdowns and through the years there is huge collection of different services, protocols, etc. So I have installed a new server on which I slowly transfer every functionality. But now I found out that some of function nodes use their context storage as cumulative history (for example there are functions that calculate total produced energy from power).
So my question: is there any easy and straightforward solution to transfer this context data between servers when they are constantly updated?
I found the context files in .nodered folder, so I can copy them. But there will be certain time window when the incoming data will be lost. I was thinking about some context transfer via tcp comm right in nodered, but that would work only for flow and global context, not the node context, unless I rewrite all the functions to restore the data in flow context.
Probably it will be okay if few minutes of data are lost, but it would be better to minimize this time as much as possible.
Looking forward to any suggestions