rmmarsh
asked on
Problem with restore
I have the following gbak parameters that cause the following error:
C:\Program Files\Firebird\bin>gbak -REP -user sysdba -pass prager "E:\Downloads\
Email Attachments\20081021.gbk" c:\Prager\dbBooks.fdb
gbak: ERROR:Your user name and password are not defined. Ask your database admin
istrator to set up a Firebird login.
gbak: ERROR:failed to create database c:\Prager\dbBooks.fdb
gbak:Exiting before completion due to errors
What is it talking about? (the backup came from a user who is having some problems; I asked him to send me the latest backup).
C:\Program Files\Firebird\bin>gbak -REP -user sysdba -pass prager "E:\Downloads\
Email Attachments\20081021.gbk" c:\Prager\dbBooks.fdb
gbak: ERROR:Your user name and password are not defined. Ask your database admin
istrator to set up a Firebird login.
gbak: ERROR:failed to create database c:\Prager\dbBooks.fdb
gbak:Exiting before completion due to errors
What is it talking about? (the backup came from a user who is having some problems; I asked him to send me the latest backup).
gbak -REP -user sysdba -pass prager "E:\Downloads\
Email Attachments\20081021.gbk" c:\Prager\dbBooks.fdb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
this is about your machine, the one you want to restore the backup onto
ASKER
I restored it on my machine at home and had no problems; tried to restore it on the machine at work and got the problem... it came from one of my users...
I can't remember if REPL requires the file to be there first, check you can connect to another database on the work machine using the same password
this this version:
gbak -CREATE -user sysdba -pass prager "E:\Downloads\Email Attachments\20081021.gbk" c:\Prager\dbBooks_1.fdb
this this version:
gbak -CREATE -user sysdba -pass prager "E:\Downloads\Email Attachments\20081021.gbk" c:\Prager\dbBooks_1.fdb
ASKER
What bothers me is that it works on an XP machine and won't on a Server 2003 R2 machine... is there a connection?
ASKER
BTW, "CREATE" doesn't work either... sounds more and more like a Server 2003 R2 issue.
ASKER
Found the problem! the master password was wrong!! (how I did that I'll never know)...
Thanks for your help... points awarded anyway...
Rolf
Thanks for your help... points awarded anyway...
Rolf
ASKER
thanks again...
common mistake, that's why I suggested it
ASKER
"second, firebird is installed on the local machine, with that user/password?" not sure; hopefully the user didn't change it, since I didn't give any directions on how to accomplish that...
"third, current user has permission to overwrite the current database with that filename?" not sure what you mean... if the backup came from his machine, would he, by default, have permissions?