Subject How to wipe a database
Author mark.ruys
I just killed a database, stupid me :( I typed:
gbak -Z mydb mydb.fdb
where it should have been:
gbak -Z mydb mydb.fbk
According the the documentation of the -Z option:Displays the version
number of the gbak utility and of the Firebird installation. You must
supply a valid database name and backup filename - even though the
backup will not actually be carried out - or the command will exit with
an error code of 1 rather than zero.
So this is not true! The -Z option does produce a backup, and in my case
overwriting the database itself.
Bad day in history (for me).
Mark


[Non-text portions of this message have been removed]