Thanks fribse - woohoo finally it works!
-------------------------------------------------- --------------
I got itto work after a few failed attempts on my TS-470 PRO, but had to read almost all of the posts in this thread - hence my brief guide for noobs like me:
1. created a share "backup" with QNAP-shares within my raid6
2. created a database user "nas_backup" with global "Select, Show View and Show Databases" rights
2. copied mysqlbackup.sh untouched to the share and set with WINSCP chmod 700
3. edited mysqlbackup.conf with PSPAD and Format UNIX (LF) - for no carrier return marks in the lines (took me an hour to find the problem
)!!!
-> share=backup
-> user=nas_backup
-> pw = **********
->folder=MYSQL
4. copied with WINSCP in etc/conf and set chmod 600
5. went with console "cd /share/backup/" into the directory and tested it with command ./mysqlbackup.sh
6. If an error "/ bin / bash ^ M: bad interpreter: No such file or directory" is reported via the console:
6.1 vi /share/backup/mysqlbackup.conf
6.2: set fileformat = unix
6.3: wq
6.4 back to 5.
7. When the manual backup goes through creating the cronjob through the console
7.1 echo "10 1 * * * /share/backup/mysqlbackup.sh" >> / etc / config / crontab
7.2 crontab / etc / config / crontab
7.2 /etc/init.d/crond.sh restart
Everything should work now