Node-RED is an open source programming tool for wiring hardware devices and services on the Internet and APIs. 

IBM Cloud offers a preconfigured Node-RED starter kit on its Cloud Foundry (CF) space

When you deploy the Node-RED starter kit, a Cloudant service instance will also be deployed. Node-RED on IBM Cloud is preconfigured to store its credential information and flow data in the bundled Cloudant. In this article, we are going to share how to backup the flow data in case of migration or in preparation for disaster recovery.


  • IBM Cloud account 
  • Operator has the Writer or Manager service access against the Cloudant instance

Step 1: Backup your Node-RED flow

  1. Log in to IBM Cloud and go to the Resource list.
  2. Expand Services and open the Cloudant service instance. The name is usually the same as your Node-RED app name:
  3. Click Launch Cloudant Dashboard to view the Cloudant contents:
  4. The flow to backup is stored in a Database with the same name as your app. Open the Database and open <Your Database name>/flow:
  5. The flow data is in json format and its full string is within “flow”: []. Copy the json in the section, including [ and ] at the beginning and the end, and save it as a file with .json extension. Note: Do not include “flow”: in the json file:

Step 2: Restore your Node-RED flow

  1. Open your Node-RED app on the IBM Cloud dashboard and click Visit URL:
  2. Click Go to your Node-RED flow editor.
  3. Expand the top-right menu and click Import:
  4. Click Select a file to import. Select the backup json file and click Import


By following these steps, you’ll be able to backup and restore your Node-RED flows. This can be particularly helpful in case of drastic changes, migrations, or for disaster recovery purposes.

Learn more about Node-RED.


More from Cloud

IBM Cloud inactive identities: Ideas for automated processing

4 min read - Regular cleanup is part of all account administration and security best practices, not just for cloud environments. In our blog post on identifying inactive identities, we looked at the APIs offered by IBM Cloud Identity and Access Management (IAM) and how to utilize them to obtain details on IAM identities and API keys. Some readers provided feedback and asked on how to proceed and act on identified inactive identities. In response, we are going lay out possible steps to take.…

IBM Cloud VMware as a Service introduces multitenant as a new, cost-efficient consumption model

4 min read - Businesses often struggle with ongoing operational needs like monitoring, patching and maintenance of their VMware infrastructure or the added concerns over capacity management. At the same time, cost efficiency and control are very important. Not all workloads have identical needs and different business applications have variable requirements. For example, production applications and regulated workloads may require strong isolation, but development/testing, training environments, disaster recovery sites or other applications may have lower availability requirements or they can be ephemeral in nature,…

IBM accelerates enterprise AI for clients with new capabilities on IBM Z

5 min read - Today, we are excited to unveil a new suite of AI offerings for IBM Z that are designed to help clients improve business outcomes by speeding the implementation of enterprise AI on IBM Z across a wide variety of use cases and industries. We are bringing artificial intelligence (AI) to emerging use cases that our clients (like Swiss insurance provider La Mobilière) have begun exploring, such as enhancing the accuracy of insurance policy recommendations, increasing the accuracy and timeliness of…

IBM NS1 Connect: How IBM is delivering network connectivity with premium DNS offerings

4 min read - For most enterprises, how their users access applications and data is an essential part of doing business, and how they service those application and data responses has a direct correlation to revenue generation.    According to We Are Social’s Digital 2023 Global Overview Report, there are 5.19 billion people around the world using the internet in 2023. There’s an imperative need for businesses to trust their networks to deliver meaningful content to address customer needs.  So how responsive is the…