Subject Re: [firebird-support] Locking a database to cause a backup to fail
Author Milan Babuskov
Steve Harp wrote:
> 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.

You could create a backup file (before starting) and make it read-only.

Or remove read permission on database file.

Milan Babuskov