I need some help troubleshooting a script
A while back (months ago) I used instructions from domoticz' wiki to setup nightly backup from my Pi to my Qnap
The script is from this page: https://www.domoticz.com/wiki/Daily_bac ... ternal_hdd
under section Script to backup to a Synology NAS
The backup is happening nightly, that is well.
However, I also appended, in same domoticz_backup.sh file, the "pruning' script, also from same page (just under the first script)
This part of the script has unfortunately never worked. Space is not an issue, but yeah.. I'd like it to work
I recently installed Notepad++, and opening the domoticz_backup.sh, it looks to me like it is showing errors towards the end
Lines 63 to 67. The unreadable smudges are just the LF.
If I run the script, I get new backup files, no error thrown.. The old backup files remain untouched
