Subject | RE: [ib-support] GBAK and crontab |
---|---|
Author | Michael Weissenbacher |
Post date | 2002-08-27T14:54:45Z |
well, my crontab entry looks like this:
0 4 * * * /backup/backup.sh
the backup.sh 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
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] GBAK and crontab
GBAK and crontab
58 23 * * * root /schoemandata/backup/dbbackup.sh
Other than that I dont know what the problem is.
Groete
Gerhardus
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
0 4 * * * /backup/backup.sh
the backup.sh 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
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] GBAK and crontab
GBAK and crontab
>I forgot to say my crontab entry is
>
> 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
>
58 23 * * * root /schoemandata/backup/dbbackup.sh
Other than that I dont know what the problem is.
Groete
Gerhardus
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/