Subject Re: gbak into scheduled task
Author loupisp
I use a BATCH file and the Windows Task Scheduler for this purpose
and all I can think of is that the database is still in use when you
are doing a gfix -mend or a restore. You will need to take the
database off-line for the restore (or MEND) using gfix -shut -force
0 -user XXX .....

--- In, "mohamed_banaouas"
<mohamed_banaouas@y...> wrote:
> hello
> I have a script for Windows 2000 (cmd.exe) which launches gbak for
> rebuilding (backup & restore) of database. This script is launched
> by a scheduled task in which is parameterized the Administrator
> account and his password. Until there all goes well. Except that
> an Administrator session (even with locked workstation) is not
> while the task in launched , script is started but the gbak stop
> the error "unavailabale database".
> Does any one have an idea on the failure of gbak under these
> interbase version