Subject RE: [ib-support] GBAK and crontab
Author Michael Weissenbacher
well, my crontab entry looks like this:
0 4 * * * /backup/

the looks like this:
#! /bin/sh
/opt/interbase/bin/gbak -B -G /path/to/db.gdb /path/to/db.gbk -USER SYSDBA
-PASSWORD whatever

have you done "chmod +x" on the shell script, does it work if you invoke it
on the command line?
i'm very lost at the moment, can't think of what else that could be wrong. i
never had problems like this.

hth, mw

-----Original Message-----
From: Gerhardus Geldenhuis [mailto:gerhardus@...]
Sent: Tuesday, August 27, 2002 4:47 PM
Subject: RE: [ib-support] GBAK and crontab

GBAK and crontab
> i am using cron for backups without problems. however, i'm using the
> /opt/interbase/bin/gbak approach, not the cd approach.
> you could append "> /path/to/my/log/file 2>&1" to the gbak
> command to see if
> there are any errors printed by gbak
> are you running the backup as a root cron job or as a specific user cron
> job? maybe then the user you used has not the permissions necessary.
> hth
> michael weissenbacher
I forgot to say my crontab entry is
58 23 * * * root /schoemandata/backup/

Other than that I dont know what the problem is.


To unsubscribe from this group, send an email to:

Your use of Yahoo! Groups is subject to