Subject RES: [firebird-support] Error in DB
Author Marcelo Pitanga
Hi Jaime,

Try,

gfix -v -full -user SYSDBA -password masterkey c:\temp\copia.gdb

if this command reports errors then try:

1) gfix -mend -full -ignore -user SYSDBA -password masterkey
c:\temp\copia.gdb
2) gbak -backup -v -ignore -garbage -limbo -user SYSDBA -password masterkey
c:\temp\copia.gdb c:\temp\copia.gbk

the command (1) prepare your database to backup

gbak -create -v -user SYSDBA -password masterkey c:\temp\copia.gbk
c:\temp\ok.gdb

this command execute a restore creating a new database.

[]'s
Marcelo

> ----- Mensagem original -----
> De: Jaime Geovane Marcondes [SMTP:jaime@...]
> Enviada em: quinta-feira, 26 de junho de 2003 13:20
> Para: firebird-support@yahoogroups.com
> Assunto: [firebird-support] Error in DB
>
> Guys, i have a database corrupted.
>
> It shows me the error:
>
> c:\temp\gfix -validate copia.gdb
> I/O error for file "C:\TEMP\COPIA.GDB"
> -Error while trying to read from file
> -Reached the end of the file.
>
> what i can do for connect in the database e solve this error ?
>
>
> Thank's
>
>
> To unsubscribe from this group, send an email to:
> firebird-support-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>


[Non-text portions of this message have been removed]