What exactly does Backup Database entail?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

What exactly does Backup Database entail?

Post 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?
Evelen
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?

Post by Evelen »

Not sure about custom scripts but all scripts made from domoticz web gui incl blockly and all devices are backed up.
Nautilus
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?

Post 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
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: What exactly does Backup Database entail?

Post 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.
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: What exactly does Backup Database entail?

Post by Timmiej93 »

Thank you for the clarifications all.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest