Automatic backup not working Topic is solved

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!
jammiejammie
Posts: 34
Joined: Thursday 09 October 2014 16:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Automatic backup not working

Postby jammiejammie » Monday 09 January 2017 22:35

Today i had a bad day ....

My raspberry pi sd card crashed. But lucky as i taught i was... i had a solid backup plan in place.
I tunred on automatic backup in Domoticz.
Every night an Rsync task syncs the domoticz folder to my NAS.

This used to work perfectly. used to ...

There where no automatic backups created on the raspberry by domoticz.
So i had to try and restore the live running database. Which obviously was corrupted ....
So i repeared the most recent database i could and now i'm up and running again with an 3 months old database.....

But the main problem is that the automatic backup by Domoticz in not working....
Is there a way i can force Domoticz to do an automatic backup ?

I'm running the latest beta version 3.6325.

SweetPants
Posts: 1223
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.7518
Location: The Netherlands
Contact:

Re: Automatic backup not working  Topic is solved

Postby SweetPants » Monday 09 January 2017 22:41

Working here fine on V3.6325

jammiejammie
Posts: 34
Joined: Thursday 09 October 2014 16:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Automatic backup not working

Postby jammiejammie » Monday 09 January 2017 22:47

Are the backups still on the same location
domoticz/backups ?
Because i don't have such a folder anymore

SweetPants
Posts: 1223
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.7518
Location: The Netherlands
Contact:

Re: Automatic backup not working

Postby SweetPants » Monday 09 January 2017 23:00

yup, still there
2017-01-09 22:00:00.998 Starting automatic database backup procedure...
2017-01-09 22:00:01.775 Ending automatic database backup procedure...

jammiejammie
Posts: 34
Joined: Thursday 09 October 2014 16:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Automatic backup not working

Postby jammiejammie » Tuesday 10 January 2017 0:04

ok this is weird....

After restoring and fixing the database it looks like backing up works again.....
looks like something was not sitting right. thanx anyway!

gomario
Posts: 8
Joined: Wednesday 04 November 2015 7:05
Target OS: Windows
Domoticz version:
Contact:

Re: Automatic backup not working

Postby gomario » Friday 21 April 2017 5:23

This is quite an old post, but I thought to share my fix anyway, since I just had this problem...

Card corrupt --> New install of Jessie + Domoticz. ---> backup database import.

All working fine, but: Error writing automatic hourly/daily backup file.

Found out that all folders in /domoticz are owned by Pi, except for /backups and it's subfolders. CHOWN fixed that. All working now.

jake
Posts: 220
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Automatic backup not working

Postby jake » Friday 21 April 2017 19:26

Where do you set the automatic backup? I only see manual backup and restore in the settings.

Verstuurd vanaf mijn GT-I9195 met Tapatalk

User avatar
HansieNL
Posts: 298
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Automatic backup not working

Postby HansieNL » Friday 21 April 2017 19:33

jake wrote:Where do you set the automatic backup? I only see manual backup and restore in the settings.

Setup - Settings - Automatic Backup - Enable automatic backup
Domoticz on Raspberry Pi 2, Homey, Hue lights, Toon thermostat, Logitech Harmony Hub, Fibaro Wall Plug, Fibaro Push Buttons, LightWaveRF Mood Controller, Venz M9 running LibreELEC, Synology NAS

allmehandidesigns
Posts: 3
Joined: Friday 05 May 2017 9:43
Target OS: Windows
Domoticz version:
Contact:

Re: Automatic backup not working

Postby allmehandidesigns » Friday 05 May 2017 10:00

i guess you have updated the version, may be it is not working, bc i guess there is a bug in latest version

Susantaylor123
Posts: 2
Joined: Friday 12 May 2017 13:34
Target OS: -
Domoticz version:
Contact:

Re: Automatic backup not working

Postby Susantaylor123 » Friday 12 May 2017 13:48

I think it's a software issue or maybe you are using an old version.

Toulon7559
Posts: 361
Joined: Sunday 23 February 2014 18:56
Target OS: Raspberry Pi
Domoticz version: latest
Location: Hengelo(Ov)/NL
Contact:

Re: Automatic backup not working

Postby Toulon7559 » Friday 12 May 2017 22:06

This thread triggered me to check as well whether and where my backup-files are located at the raspberry.
Was surprised by tellback 'permission denied' when trying to access the backups-folder.
How to avoid/circumvent that report?
Set1 = RPI-B+RFXCom433 + S0PCM + Linksprite-shield for BMP180/DS18B20/RS485
Set2 = RPI-3+RFLinkGTW + ESP8266s + WS7000
Common = 2*PVLogger + TFA_Nexus + KAKUs
=> Energy & Data Management based on Time and on measured PV&Consumption&Meteo


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests