-USER
Username for authentication.
-USER username
Allows the username of the SYSDBA or database owner user to be specified if the database is to be backed up, or, in the case of a restore (with the -c[reate]
switch specified), any valid username can be specified.This need not be supplied if ISC_USER
environment variable exists and has a correct value for the username.
Databases can only be backed up by SYSDBA, users with the RDB$ADMIN_ROLE
, the database owner, or — since Firebird 4.0 — users with the USE_GBAK_UTILITY
system privilege.A restore can also be carried out by SYSDBA or the database owner, however, if the -c(reate)
switch is used, any authenticated user can create a new database from a backup file.In Firebird 3.0 and higher, non-admin users need the CREATE DATABASE
DDL privilege to be able to restore a database.