I made a script which executes successfully online backup when it is run manually by the instance owner. Script is the following (two lines originally).
#!/bin/bash /opt/ibm/db2/V9.7/bin/db2 backup database maxdb71 online to "/data/archiveBackup" WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 INCLUDE LOGS WITHOUT PROMPTING;
As I said when I execute it manually by the instance owner it works.
I put it in the instance owner crontab.
crontab -l lists this script, and date/time on the server is OK.
Why the script is not executing the online backup when it works OK when it is run manually?