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!
Post Reply
jammiejammie
Posts: 38
Joined: Thursday 09 October 2014 16:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Automatic backup not working

Post by 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: 1534
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8630
Location: The Netherlands
Contact:

Re: Automatic backup not working

Post by SweetPants » Monday 09 January 2017 22:41

Working here fine on V3.6325

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

Re: Automatic backup not working

Post by 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: 1534
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8630
Location: The Netherlands
Contact:

Re: Automatic backup not working

Post by 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: 38
Joined: Thursday 09 October 2014 16:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Automatic backup not working

Post by 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: 14
Joined: Wednesday 04 November 2015 7:05
Target OS: Windows
Domoticz version:
Contact:

Re: Automatic backup not working

Post by 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: 269
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Automatic backup not working

Post by 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: 323
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Automatic backup not working

Post by 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
Blah blah blah

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

Re: Automatic backup not working

Post by 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: 1
Joined: Friday 12 May 2017 13:34
Target OS: -
Domoticz version:
Contact:

Re: Automatic backup not working

Post by Susantaylor123 » Friday 12 May 2017 13:48

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

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

Re: Automatic backup not working

Post by 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+DDS238ZN1
Set2 = RPI-3+RFLinkGTW+ESP8266s+PWS_WS7000
Common = 2*PVLogger+PWS_TFA_Nexus+KAKUs
=> Energy & Data Management based on Time and on PV&Consumption&Meteo

Garywilson571
Posts: 2
Joined: Friday 19 May 2017 12:08
Target OS: Windows
Domoticz version:
Contact:

Re: Automatic backup not working

Post by Garywilson571 » Wednesday 07 June 2017 12:25

It is perfectly working in the latest version and you can enable this option setup > settings > automatic backup > Enable automatic backup.
Professional essay writers UK

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests