Page 1 of 1

Backup not working on PC

Posted: Tuesday 10 September 2024 11:46
by SilverShaded
Hi, when i try and manually backup the database, it saves a php file with zero bites instead. This is on windows 10 and 11.

Re: Backup not working on PC

Posted: Tuesday 10 September 2024 11:58
by FlyingDomotic
This probably means that php files are downloaded instead of being executed (and backup is driven by a php file).

To fix it, you have to add PHP on your machine, and set your web server properly.

Did you got some errors when installing Domoticz?

Re: Backup not working on PC

Posted: Tuesday 10 September 2024 14:01
by SilverShaded
Domoticz installed fine and ive been using it for a few years. I'll look at the PHP issue thanks!

Re: Backup not working on PC

Posted: Tuesday 10 September 2024 15:58
by SilverShaded
I installed PHP using XAMPP but still have the problem.

Re: Backup not working on PC

Posted: Tuesday 10 September 2024 16:18
by FlyingDomotic
Did you tell your web server it can use PHP?

Re: Backup not working on PC

Posted: Tuesday 10 September 2024 18:56
by waltervl
Is Domoticz running on a windows server or on a linux (eg Raspberry Pi)?
And is the client running on windows? What browser do you use?

Re: Backup not working on PC

Posted: Friday 13 September 2024 22:37
by zicht
works fine on my win11 machine.
Browser was blocking the download stating it was an unsafe download. (chrome)

ps.
- I have a plain domoticz 2024.7 with python 3.10 running, no extra php or other software running.
- I am always one version behind on this win11 machine.