on 2014 Jun 19 5:04 PM
Hello,
I'm trying to schedule Hana's backups.
First of all, I'm trying to execute with the sample script.
#!/bin/bash
# SAP HANA Backup
# define backup prefix
TIMESTAMP="$(date +\%F\_%H\%M)"
BACKUP_PREFIX="SCHEDULED"
BACKUP_PREFIX="$BACKUP_PREFIX"_"$TIMESTAMP"
# source HANA environment
. /usr/sap/shared/DB1/HDB01/hdbenv.sh
# execute command with user key
# asynchronous runs job in background and returns prompt
hdbsql -U backup_operator "backup data using file ('$BACKUP_PREFIX') ASYNCHRONOUS"
I've tried to execute the script directly but Im getting error -bash: ./backup_test.sh: Permission denied
How can I execute it?
Thanks
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lars,
I was following the SAP HANA Academy - Backup and Recovery: Scheduling scripts - YouTube resource.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.