Page 1 of 1
Backup script not working anymore
Posted: Tuesday 17 March 2020 19:57
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
Re: Backup script not working anymore
Posted: Wednesday 18 March 2020 12:18
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
Re: Backup script not working anymore
Posted: Tuesday 02 February 2021 8:00
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