Backup script not working anymore

Moderator: leecollings

Post Reply
tjabas
Posts: 562
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Backup script not working anymore

Post by tjabas »

Hi!

i have been using this backup script for along time, but yesterday i noticed that it doenst work anymore, i get this: mount error(112) in the backup log.
i use this script:
https://gadget-freakz.com/domoticz-backup-script/

i use buster on a rpi3b

thanks in advance
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Backup script not working anymore

Post by erem »

hi tjabas,

the way you posted the script makes it very hard to read, so please correct.
anyway, mount error(112) is host unreachable, so see if you can manually mount the share.
it could be an smb protocol version issue as well. manually mounting will hopefully give you a clue

try to enable more debug messages for the CIFS by running
echo 7 > /proc/fs/cifs/cifsFYI

to see additional error messages which may lead to to the cause.
When you are done, disable the debug by running
echo 0 > /proc/fs/cifs/cifsFYI

hope this helps
Regards,

Rob
Sipes
Posts: 1
Joined: Tuesday 02 February 2021 7:57
Target OS: Windows
Domoticz version:
Contact:

Re: Backup script not working anymore

Post by Sipes »

No error checking after mysql_connect() or mysql_queries(). You probably just gave a wrong password or something, but you'd never know because the script doesn't verify the connect was successful MyCardStatement Login
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest