We are facing issue while restoring our database using the gbak command provided by Interbase to restore a corrupt database.
We first of all created a backup file and then ran
gbak -r -user {username} -password {password} path_of_backup_interbase_file path_of_original_interbase_file
But it gives error:
The username and password are not defined. Please ask your database administrator
We checked connecting using sysdba and password, wherein we can login and used the same password for gbak. Also we used “masterkey” password in the above command.
Currently, we are running all these commands in the Command Prompt in administrative mode on production server which is hosted on Windows.
Can somebody please help or provide any directions maybe variables that need to be set prior to running this command or what might be the reason for this exception to take place?
We have tried all of our energy as this database is entirely new to us. Some help will be really appreciated.
Pushkar Mavale is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2