re-install Domoticz on Raspberry Pi

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
steef27
Posts: 4
Joined: Friday 26 August 2016 9:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

re-install Domoticz on Raspberry Pi

Post by steef27 » Monday 01 October 2018 9:42

hi,

Does someone has experience with a clean re-install of Domoticz on Raspberry Pi?
The reason I want to re-install is because my HDD is at 97%.
Is it possible te restore all domoticz settings including devices?

Steef

User avatar
emme
Posts: 942
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: re-install Domoticz on Raspberry Pi

Post by emme » Monday 01 October 2018 9:48

you can backup and restore the Domoticz folder

at least save the domoticz.db file and the domoticz/script folder.

ciao
M
The most dangerous phrase in any language is:
"We always done this way"

steef27
Posts: 4
Joined: Friday 26 August 2016 9:13
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: re-install Domoticz on Raspberry Pi

Post by steef27 » Monday 01 October 2018 9:53

are my blockly scripts also in de domoticz.db file?

User avatar
emme
Posts: 942
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: re-install Domoticz on Raspberry Pi

Post by emme » Monday 01 October 2018 9:57

yes, they are

but save also the domoticz/script folder
The most dangerous phrase in any language is:
"We always done this way"

User avatar
Solderbro
Posts: 12
Joined: Tuesday 18 September 2018 15:50
Target OS: NAS (Synology & others)
Domoticz version: 4.9980
Location: Hamburg, Germany
Contact:

Re: re-install Domoticz on Raspberry Pi

Post by Solderbro » Thursday 25 October 2018 19:04

As raspi is linux you should be able to do this after domoticz is shut down.

ash-4.3# tar czvf domoticz/* target-path/domoticz4980.tgz

After all work simply go to the target folder and do

ash-4.3# tar xzvf source-path/domoticz4980.tgz

This is the 100% full backup solution and it's horrible fast :D

Solderbro
Synology DS218+ (8GB), Aeotec C5, Eurotronic Spirit, Fibaro FRGBW, Zipato PIR, Aeotec Multi 6, Everspring AN180

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests