Domoticz hangs when trying to backup

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post
Post Reply
AutoUlf
Posts: 3
Joined: Sunday 26 November 2017 19:11
Target OS: Raspberry Pi
Domoticz version: V3.8153
Contact:

Domoticz hangs when trying to backup

Post by AutoUlf » Sunday 26 November 2017 19:16

I have been running domoticz for 1,5 years but last month it hangs when I push the "backup" button. I need to restart domoticz and the backup will not be downloaded. Anyone else has this problem? V3.8153

User avatar
Siewert308SW
Posts: 555
Joined: Monday 29 December 2014 16:47
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands - Zoutkamp (gn)
Contact:

Re: Domoticz hangs when trying to backup

Post by Siewert308SW » Sunday 26 November 2017 19:35

How big is your db file?
Setup:
- RPi3 - PIco hv3.0A Plus / Domoticz Beta Custom 3.8XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco hv3.0A Plus / PiHole / Youless Elec/Gas
- FI9803P Cams
- KD101 detectors
- KaKu/z-wave stuff

Domoticz scripts: @ GitHub
pico_installer: @ GitHub

tillo
Posts: 24
Joined: Monday 01 May 2017 20:15
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Domoticz hangs when trying to backup

Post by tillo » Wednesday 29 November 2017 12:37

If the database file is huge then a backup could take a very long time. 5-10min.

AutoUlf
Posts: 3
Joined: Sunday 26 November 2017 19:11
Target OS: Raspberry Pi
Domoticz version: V3.8153
Contact:

Re: Domoticz hangs when trying to backup

Post by AutoUlf » Saturday 16 December 2017 22:40

The db file is 1,1 Gb. Last time I checked it was under 1 Mb so I think I need to look into this.

AutoUlf
Posts: 3
Joined: Sunday 26 November 2017 19:11
Target OS: Raspberry Pi
Domoticz version: V3.8153
Contact:

Re: Domoticz hangs when trying to backup

Post by AutoUlf » Sunday 17 December 2017 0:01

I cleaned out a lot of sensors I do not use and changed the log time for some devices and now the db is 872Kb and the backup runs smooth again. I do not have any idea what caused the db to get that huge though.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests