Subject Re: [firebird-support] Locking a database to cause a backup to fail
Author Ann W. Harrison
Steve Harp wrote:
> Is there a way to lock a database to force a backup will fail?

By design, no. I suppose you could try running a gfix validate,
which requires exclusive access and should block other connections.
A better way to cause a backup to fail is to change the file
protection on the database so the server can't access it.