Backup script "backupdatabase.php" not working.
Posted: Saturday 26 January 2019 16:31
Version: 4.10364
Platform: RPi 3B
Automatic backup not working any more after an malformed DB but repaired, I do not know why. My work-around was to use backupdatabase.php through the cron that was working till I did an update from 4.10360 to 4.10364. I can not find this backupdatabase.php script if I search for it (find) then it is not there on file level? What should be the location?
Is it somewhere in the DB or is it hard coded somewhere, how is it working and how can I debug it?
Owner of the DB is root is that OK or should it belong to user pi?Is there another way to make a ONLINE backup and how to debug this problem any idea?
Martin
Platform: RPi 3B
Automatic backup not working any more after an malformed DB but repaired, I do not know why. My work-around was to use backupdatabase.php through the cron that was working till I did an update from 4.10360 to 4.10364.
Code: Select all
/usr/bin/curl -s http://127.0.0.1:8080/backupdatabase.php > /SYNDS/backup/domoticz.db
Is it somewhere in the DB or is it hard coded somewhere, how is it working and how can I debug it?
Owner of the DB is root is that OK or should it belong to user pi?
Code: Select all
-rw-r----- 1 root root 54833152 Jan 26 16:20 domoticz.db
Martin