Hi all,
I just installed a fresh SD card with Rasbian Jessie and the latest version of Domoitcz after the SD got corrupted. Happy that I had the script running for daily backups, so the loss of data was almost nothing.
In the fresh installation, I installed the script again (see https://www.domoticz.com/wiki/Daily_bac ... ternal_hdd) by copying the script in the /pi/domoticz/scrips/ directory, filling in the right IP addresses etc, ran the chmod command (no error messages). However, when I want to execute the script (sudo /home/pi/domoticz/scrips/domotic_backup.sh), the message says:
The script is with the correct name in the correct folder, so that's not the problem:
Does anybody knows what is wrong and how to solve this?
thnx
Daily back-up to external hdd scripts error message
Moderator: leecollings
-
- Posts: 18
- Joined: Monday 20 April 2015 21:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
- jvdz
- Posts: 2328
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Daily back-up to external hdd scripts error message
Have you set the Execute flag with chmod +x for the file?
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 18
- Joined: Monday 20 April 2015 21:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Daily back-up to external hdd scripts error message
Hi,
Yes, and I also tried chmod 777 ...
Yes, and I also tried chmod 777 ...
-
- Posts: 18
- Joined: Monday 20 April 2015 21:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Daily back-up to external hdd scripts error message
Got it working again. Started the whole procedure from the start.
Still don't know what went wrong though...
Hendrik
Still don't know what went wrong though...
Hendrik
Who is online
Users browsing this forum: No registered users and 1 guest