Hi guys,
I had a system crash last week, my own doing (I have a POE converter ethernet & 5v, I powered down the Switch before shutting down the Pi) I managed to re-instate from a backup, but I feel there are some further underlying issues.
My system has regularly started just freezing, loosing nodes.
My plan is to virtually start from scratch new Pi new SD and install
however I have several Blocklys, and DZvents, I can find these, but not the blockly.
I didnt want to restore from my backup just incase there is an issue as we have been struggling all week and it was freezing this morning, the was wasnt happy.
Cheers
Backing up Blockly
Moderator: leecollings
-
- Posts: 132
- Joined: Tuesday 14 January 2014 0:03
- Target OS: Linux
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Backing up Blockly
The Blockly scripts are stored in the database. dzVents script written in the internal editor also but they are exported to the OS files-system.alarm_guy1 wrote: ↑Monday 13 April 2020 22:49 ...However I have several Blocklys, and DZvents, I can find these, but not the blockly.
Tables you want to preserve are EventMaster and EventRules.
Some time ago I posted a bash script here to export Blockly scripts from the database to the os file level.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 132
- Joined: Tuesday 14 January 2014 0:03
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Backing up Blockly
Thankyou, I will take a look.
Thanks for the quick reply
Thanks for the quick reply
-
- Posts: 132
- Joined: Tuesday 14 January 2014 0:03
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Backing up Blockly
Cheers, just figured out getting it working, only took 29 mins, I must be improving.
However I get this error
created /home/pi/Downloads/blockly/Lounge Light Off Alarm set.xml
blockly.sh: 20: blockly.sh: [[: not found
created /home/pi/Downloads/blockly/Death_Star_After_Midnight.xml
There are files in my /home/pi/Downloads/blockly
However I get this error
created /home/pi/Downloads/blockly/Lounge Light Off Alarm set.xml
blockly.sh: 20: blockly.sh: [[: not found
created /home/pi/Downloads/blockly/Death_Star_After_Midnight.xml
There are files in my /home/pi/Downloads/blockly
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Backing up Blockly
You can change [[ to [ and ]] to ] and try again. Some Debian versions do not like the double brackets.alarm_guy1 wrote: ↑Monday 13 April 2020 23:35 However I get this error
blockly.sh: 20: blockly.sh: [[: not found
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 132
- Joined: Tuesday 14 January 2014 0:03
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Backing up Blockly
Cheers, i will take a look.
Thankyou for your assistance...
Thankyou for your assistance...
Who is online
Users browsing this forum: No registered users and 1 guest