Backup not working on PC

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Backup not working on PC

Post 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.
FlyingDomotic
Posts: 303
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Backup not working on PC

Post 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?
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Backup not working on PC

Post by SilverShaded »

Domoticz installed fine and ive been using it for a few years. I'll look at the PHP issue thanks!
SilverShaded
Posts: 15
Joined: Thursday 28 November 2013 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Backup not working on PC

Post by SilverShaded »

I installed PHP using XAMPP but still have the problem.
FlyingDomotic
Posts: 303
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Backup not working on PC

Post by FlyingDomotic »

Did you tell your web server it can use PHP?
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Backup not working on PC

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
zicht
Posts: 251
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: Backup not working on PC

Post 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.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests