Subject GBAK and crontab
Author Gerhardus Geldenhuis
I have written a script that backups my database dialy. When I execute it as
root it works fine. But when cron starts the script it does not work. It
does create the file but it is 0 bytes big.

Here is the script:
tdy=`date +%Y%m%d`
cd /opt/interbase/bin/
./gbak -b -t -v -user sysdba -pas newman /schoemandata/SCHOEMAN.GDB

I have also tried /opt/interbase/bin/gbak -b ...

Someone on a Linux support groups says that the environmental variables does
not exists for cron which could be the reason the script does not work. Does
gbak make use of any enviromental variables and if so what are they.

I could not find anything on environment variables in the Operations Guide.

I am using Mandrake 8.1 and Firebird SS 1.0