Export Full Node Red Agent

Hey, sorry for the delay.

When you export from inside Node-RED, it will not include credentials. So, it’s a very good way to copy or move flows between environments, but it is not a good backup strategy (or at least it cannot stand alone).

When you create a Node-RED, you set an environment variable nodered_id. This is used for all objects in the database related to that Node-RED instance. So, doing a query like {"nodered_id": "throbbing-sun-3165"} will return all objects for that Node-RED.

You can use this query to make a snapshot via Git in OpenCore. You can use this query to download the JSON for all objects using PowerShell (maybe some of the examples here can inspire you) or just type the query in the search box in OpenCore and manually download the JSON.

(You can safely ignore the session one)