Backup Domoticz

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
scannie
Posts: 11
Joined: Saturday 03 August 2019 8:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Backup Domoticz

Post by scannie »

A beginner question.
I see a lot of scripts for backup the data.

My idea is to configure Domoticz and copy the sd card information to a second sd.

In case of a defective sd, I only need to replace the sd card.

Is this too simple and do I oversee something?

Peter.
cogliostrio
Posts: 77
Joined: Sunday 06 September 2015 11:58
Target OS: Linux
Domoticz version:
Contact:

Re: Backup Domoticz

Post by cogliostrio »

Cloning the SD card is a good idea. But I would also make copys of the DB after adding scripts or doing other major additions. If you like to run the latest betas, ziping up the whole domoticz folder is also useful (goes for any update). So you can easily roll back if something does not work in your setup.
scannie
Posts: 11
Joined: Saturday 03 August 2019 8:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Backup Domoticz

Post by scannie »

A copy of the sd card includes all data, I imagine the DB too.
In case of problems just use the copy sd card.

Or do I oversee something?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Backup Domoticz

Post by waaren »


scannie wrote:A copy of the sd card includes all data, I imagine the DB too.
In case of problems just use the copy sd
True but it's easy to copy your database and therefore the frequency will probably be much higher then cloning your sd.
You don't want to recover to a working system with very old data if there is an alternative.? (use the cloned sd and restore the recent database backup)


Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest