gbak -backup test.fdb test.fbk -v -y log_test.txt -user SYSDBA -password masterkey
will rewrite test.fbk, if it exists.
It's strange, as gbak doesn't use such logic for log_test.txt.
Besides, it's possible to lose backup file because of user error.
Under certain conditions this behaviour can be a security issue.
Best regards, Eugene