Subject | Re: gbak into scheduled task |
---|---|
Author | loupisp |
Post date | 2004-09-10T04:57:07Z |
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 firebird-support@yahoogroups.com, "mohamed_banaouas"
<mohamed_banaouas@y...> wrote:
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 firebird-support@yahoogroups.com, "mohamed_banaouas"
<mohamed_banaouas@y...> wrote:
> hellothe
> I have a script for Windows 2000 (cmd.exe) which launches gbak for
> rebuilding (backup & restore) of database. This script is launchedif
> 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 notopened
> while the task in launched , script is started but the gbak stopwith
> the error "unavailabale database".conditions?
>
> Does any one have an idea on the failure of gbak under these
>
> interbase version 6.0.2.0