Page 1 of 1

What exactly does Backup Database entail?

Posted: Monday 08 January 2018 10:46
by Timmiej93
I want to backup my Domoticz setup in an efficient way, primarily making sure that the following things are backed up:
- dzVents scripts
- Scenes, Switches, etc (lower priority)
- Custom scripts stored in /home/pi/domoticz/scripts

I've seen the Backup Database option in Domoticz's settings, but I can't find any info about what exactly is being backed up when you use that option. Is there any information on this, or can anyone tell me what is backed up through that option?

Re: What exactly does Backup Database entail?

Posted: Monday 08 January 2018 23:58
by Evelen
Not sure about custom scripts but all scripts made from domoticz web gui incl blockly and all devices are backed up.

Re: What exactly does Backup Database entail?

Posted: Tuesday 09 January 2018 9:59
by Nautilus
To my understanding it backups (as the name says) the database (as found in /home/pi/domoticz/domoticz.db) and nothing else. So whatever else you have stored in the file system you need to backup separately. As metioned, the scripts and Blocklys created via the GUI are stored in the database so those are included.

Please have a look here on how to backup the database and any directories you want to (e.g. /home/pi/domoticz/scripts):
https://www.domoticz.com/wiki/Daily_bac ... folders.29

Re: What exactly does Backup Database entail?

Posted: Tuesday 09 January 2018 10:24
by EddyG
Or use rsnapshot. It's an excellent way of taking snapshots of parts of the system on an hourly or as I do it (default) every 4 hours.

Re: What exactly does Backup Database entail?

Posted: Tuesday 09 January 2018 12:58
by Timmiej93
Thank you for the clarifications all.