ok i found out what i made wrong it was an d**n linux newbie mistake (Oh my fu*king gog) i edited the files under windows with wordpad lol, ok now it works but now an little question i wanna copie all content in raid without the following folders
Makes an Backup with the front Button from everything inside /raid/ without the following folders usbcopy ftproot usbhdd tmp sys lost+found module
to an front attached USB HDD.
Requirements SSH Module Rsync Module USB HDD best formated in ext3 no ntfs support
HOWTO Attach an USB HDD to the front USB of the Thecus Log with SSH to the Thecus
fdisk /dev/sdg type n (create a new partition) make an primary partition (I made one) type w (write table) ok the USB HDD has now an partition now type mkfs.ext3 /dev/sdg (USB HDD gets formatted in ext3)
USB HDD is now Ready to start now we need to install the Rsync Module and the USB Backup module.
When you enable the USB Backup module the module makes an backup off /app/bin/btn_copy to /raid/module/USB-Backup/btn_copy.bak and copies the modified btn_copy to /app/bin when you disable the module then the original btn_copy returns to its place.
Ok now when you press the copy button at the front of the thecus then all stuff in /raid without the folders i exclude will get copied to your usb-hdd so you have an full backup off your thecus.
I made this with 2 Usb HDD´s for some companies and add an cronjob so they dont need an streamer anymore. the change every day the usb hdd with the second one and have an extern backup what they can secure in an safe.