gbak -C -V -O -user SYSDBA -pas masterkey
C:\backups\snellville\customer.bak C:\backups\snellville\customer
The directory C:\backups\snellville exists and has the file
"customer.bak" in it. There is no file "customer" in the directory.
Here is what I get when the command is executed:
gbak: opened file C:\backups\snellville\customer.bak
gbak: transportable backup -- data in XDR format
gbak: backup file is compressed
gbak: ERROR: unavailable database
gbak: ERROR: failed to create database C:\backups\snellville\customer
gbak: Exiting before completion due to errors
I have tried it without the -O with the same results. Is there
something basic I am doing wrong? I have write access to both the
directories C:\backups and C:\backups\snellville because I am able to
save a file (restore.bat) in either directory using notepad.
Thanks for any help.
Try to use a TCP/IP connection for the restored database by putting
'localhost' in front of the connection string, e.g.:
gbak -C -V -O -user SYSDBA -pas masterkey
C:\backups\snellville\customer.bak localhost:C:\backups\snellville\customer
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com
I will try his suggestion, but thanks again for your input.
IB 2007 SP2 local connections work in Vista; earlier versions did not.
Dan