Subject Re: [firebird-support] Locking a database to cause a backup to fail
Author Aage Johansen
Steve Harp wrote:
> Hi Guys,
>
> Is there a way to lock a database to force a backup will fail?
>
> Why would anyone want to do this you ask? Well, my boss is trying to
> test an application and wants to see the response when a backup fails.



If you use an ALIAS, you could change/remove the alias while the
backup runs. Backup will then fail - it seems that gbak does an
additional connect in the last stages of its processing.


--
Aage J.