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?
What exactly does Backup Database entail?
Moderators: leecollings, remb0
-
- Posts: 234
- Joined: Thursday 09 July 2015 12:03
- Target OS: Linux
- Domoticz version: 2.4538
- Location: Norway
- Contact:
Re: What exactly does Backup Database entail?
Not sure about custom scripts but all scripts made from domoticz web gui incl blockly and all devices are backed up.
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: What exactly does Backup Database entail?
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
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?
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.
-
- Posts: 64
- Joined: Saturday 26 December 2015 0:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: What exactly does Backup Database entail?
Thank you for the clarifications all.
Who is online
Users browsing this forum: No registered users and 1 guest