Command-line tools
<< Configuration parameters | Firebird 2 Migration & Installation | Performance >>
Command-line tools
Change to gbak -R
semantics
An important change has been done to prevent accidental database overwrites as the result of users mistakenly treating -R
as an abbreviation for restore
. gbak -R
was formerly a shortcut for -REPLACE_DATABASE
. Now the -R
switch no longer restores a database by overwriting an existing one, but instead reports an error.
If you actually want the former behaviour, you have two alternatives:
- Specify the full syntax
gbak -REPLACE_DATABASE
. There is a new shortcut for the-REPLACE_DATABASE
switch:gbak -REP
OR
- Use the new command
-R[ECREATE_DATABASE] OVERWRITE
. The-R
shortcut now represents the-R[ECREATE_DATABASE]
switch and theOVERWRITE
keyword must be present in either the full or the abbreviated form.
Warning: If you use the full syntax, you are expected to know what this restore mode actually means and have some recovery strategy available if the backup subsequently turns out to be unrestorable.
back to top of page
<< Configuration parameters | Firebird 2 Migration & Installation | Performance >>