Add restore-nodered-flows.md
This commit is contained in:
52
restore-nodered-flows.md
Normal file
52
restore-nodered-flows.md
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
# Restoring Node-RED Flows After Home Assistant Upgrade
|
||||||
|
|
||||||
|
## Problem
|
||||||
|
After upgrading Home Assistant OS, Node-RED flows are missing.
|
||||||
|
|
||||||
|
## Solution Steps
|
||||||
|
|
||||||
|
### 1. Check Available Backups
|
||||||
|
Go to: **http://192.168.68.25:8123/config/backups**
|
||||||
|
|
||||||
|
Look for backups created BEFORE the upgrade. Backups typically include:
|
||||||
|
- Home Assistant configuration
|
||||||
|
- Add-on data (including Node-RED)
|
||||||
|
- Supervisor data
|
||||||
|
|
||||||
|
### 2. Restore from Backup
|
||||||
|
1. In Home Assistant, go to **Settings > System > Backups**
|
||||||
|
2. Find a backup from before the upgrade
|
||||||
|
3. Click on the backup
|
||||||
|
4. Choose **"Restore"** or **"Partial Restore"**
|
||||||
|
5. Select what to restore:
|
||||||
|
- **Home Assistant Core** (configuration)
|
||||||
|
- **Node-RED add-on data** (this contains your flows!)
|
||||||
|
- Other add-ons as needed
|
||||||
|
|
||||||
|
### 3. Alternative: Restore Node-RED Add-on Only
|
||||||
|
If you have a backup, you can restore just the Node-RED add-on:
|
||||||
|
1. Go to **Settings > Add-ons > Node-RED**
|
||||||
|
2. Check if there's a restore option
|
||||||
|
3. Or restore the entire backup but select only Node-RED add-on data
|
||||||
|
|
||||||
|
### 4. Check Node-RED Status
|
||||||
|
- Go to **Settings > Add-ons > Node-RED**
|
||||||
|
- Check if Node-RED is running
|
||||||
|
- Check if it needs to be restarted
|
||||||
|
|
||||||
|
### 5. Manual Flow Export/Import (if backup doesn't work)
|
||||||
|
If you have exported flows elsewhere:
|
||||||
|
1. Open Node-RED interface
|
||||||
|
2. Go to Menu (three lines) > **Import**
|
||||||
|
3. Paste your flow JSON
|
||||||
|
4. Click **Deploy**
|
||||||
|
|
||||||
|
## Prevention for Future
|
||||||
|
- **Enable automatic backups** in Home Assistant
|
||||||
|
- **Export Node-RED flows regularly** (Menu > Export)
|
||||||
|
- **Keep backup copies** of important flows
|
||||||
|
|
||||||
|
## Quick Links
|
||||||
|
- Backups: http://192.168.68.25:8123/config/backups
|
||||||
|
- Node-RED: http://192.168.68.25:8123/hassio/addon/a0d7b954_nodered/info
|
||||||
|
- Add-ons: http://192.168.68.25:8123/hassio/addons
|
||||||
Reference in New Issue
Block a user