Subject | gbak as scheduled task on Win 2003 server |
---|---|
Author | Michael Wiedmann |
Post date | 2005-08-03T07:47:11Z |
We have difficulties running "gbak" as a scheduled task on a Win 2003
Server using Firebird 1.5.2.4731:
- runnung gbak from the command line works fine (we are using database
aliases using "DatabaseAccess = None" in "firebird.conf" and have
correctly setup "aliases.conf"):
gbak -user user -pass password database database-backup
- running the same command line from inside a cmd file works also fine
- scheduling this cmd file as scheduled task works fine as long the user
is logged in on the system!
- a scheduled task _without_ being logged in on the system yields in the
following error message from gbak:
gbak: ERROR: unavailable database
(Of course supplying an absolute pathname to the database does not
work in this case too)
Any hints?
Michael
--
Server using Firebird 1.5.2.4731:
- runnung gbak from the command line works fine (we are using database
aliases using "DatabaseAccess = None" in "firebird.conf" and have
correctly setup "aliases.conf"):
gbak -user user -pass password database database-backup
- running the same command line from inside a cmd file works also fine
- scheduling this cmd file as scheduled task works fine as long the user
is logged in on the system!
- a scheduled task _without_ being logged in on the system yields in the
following error message from gbak:
gbak: ERROR: unavailable database
(Of course supplying an absolute pathname to the database does not
work in this case too)
Any hints?
Michael
--