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: 32
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: 1200
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.7377
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: 32
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: 1200
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.7377
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: 32
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: 186
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: 189
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


Return to “General Discussion”

Who is online

Users browsing this forum: Mike and 2 guests