Subject Re: [firebird-support] gbak as scheduled task on Win 2003 server
Author Martijn Tonies
> We have difficulties running "gbak" as a scheduled task on a Win 2003
> Server using Firebird
> - 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?

Use a remote connection. "database" should be "server:database"

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Upscene Productions
Database development questions? Check the forum!