Subject | gbak restore suddenly stops working |
---|---|
Author | Bob Murdoch |
Post date | 2006-04-04T12:45:16Z |
I have multiple development databases that are backed-up and restored
every night via scripts. This morning, I find that all of the
databases were backed up successfully, but none of them restored.
There were no changes to the scripts. The command in the script looks
like this:
e:\firebird\bin\gbak.exe -C -user sysdba -password masterkey -p 8192
-o -v -y f:\ib\company\Logs\RestoreLog.txt
f:\ib\company\backup\company.fdb.Bak
f:\ib\company\RestoreTest\company.fdb
The RestoreLog.txt shows this:
gbak: opened file f:\ib\company\backup\company.fdb.Bak
gbak: transportable backup -- data in XDR format
gbak: backup file is compressed
gbak: ERROR: unavailable database
gbak: ERROR: failed to create database
f:\ib\company\RestoreTest\company.fdb
gbak: Exiting before completion due to errors
The database in this case is very small - 28MB. The backup file is
18.6MB. There is plenty of room on the drive F: (800MB). The folders
are not read only. There is no file in the RestoreTest folder.
This is a Windows 2000 server running FB1.5 SS.
I am stumped.
tia,
Bob M..
every night via scripts. This morning, I find that all of the
databases were backed up successfully, but none of them restored.
There were no changes to the scripts. The command in the script looks
like this:
e:\firebird\bin\gbak.exe -C -user sysdba -password masterkey -p 8192
-o -v -y f:\ib\company\Logs\RestoreLog.txt
f:\ib\company\backup\company.fdb.Bak
f:\ib\company\RestoreTest\company.fdb
The RestoreLog.txt shows this:
gbak: opened file f:\ib\company\backup\company.fdb.Bak
gbak: transportable backup -- data in XDR format
gbak: backup file is compressed
gbak: ERROR: unavailable database
gbak: ERROR: failed to create database
f:\ib\company\RestoreTest\company.fdb
gbak: Exiting before completion due to errors
The database in this case is very small - 28MB. The backup file is
18.6MB. There is plenty of room on the drive F: (800MB). The folders
are not read only. There is no file in the RestoreTest folder.
This is a Windows 2000 server running FB1.5 SS.
I am stumped.
tia,
Bob M..