Hi all,
About 2 years ago, I posted the same issue;
Still, I'm facing the same issue and I'm wondering if there are any new thoughts on this?
Let me summarize my issue. My NodeRED feeds a Telegram system with about 3000 users. The user-data is stored in object as
flow.set("aUsers", aUsers, "storeInFile");
Once a day I would like to make a backup. In the beginning (years ago) I messed up this object once and I didn't have a backup. So I inject this every 24 hours :
const aUsers = flow.get("aUsers", "storeInFile"); flow.set("aUsers_backup", aUsers);
So far, so good. But the strange thing is, that this backup somehow is allways a live copy. Even if I stop injecting the backup code, the backup allways contains the same data. And, there comes the tricky part... If I delete my aUsers, the aUsers_backup also gets lost...?
I'm running NR in docker on NGINX.
Any suggestions maybe?