cancel
Showing results for 
Search instead for 
Did you mean: 

Backup.sh script - Housekeeping Job

Billelinfo27
Participant
0 Kudos

Hello,

I'm currently trying to schedule a cleanup script for log backups using crontab :

00 22 * * * /hana/shared/backup_script_v04/backup.sh -q --config-file=/hana/shared/backup_script_v04/backup_config_BD1.cfg -cd -od -cl

But every time I manually lunch it I receive this message, I think it's an error in the script !

backup.sh: line 1219: DISK_DELETE_CLAUSE: command not found

Did anyone face this message before ? any help would be welcome.

PS : I'm using the latest version of Backup.sh script available on SAP marketplace.

Best Regards

Billel

Accepted Solutions (0)

Answers (1)

Answers (1)

Bojan-lv-85
Advisor
Advisor
0 Kudos

Hello Billel,

we had this issue once and it was overcome with the following change in the script ln 1219:

DISK_DELETE_CLAUSE = ""

Try changing it to

DISK_DELETE_CLAUSE=""

BR, Bojan

Billelinfo27
Participant
0 Kudos

Hello Bojan

Thanks a lot, it worked

Have a nice day.

Billel