Have you set up the file permissions correctly?
I assume you are using the script from SAP note
1651055 | Scheduling SAP HANA Database Backups in Linux |
correct?
The note has a full documentation PDF file attached that explains - with examples - how to use the script.
- Lars