#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    1
    Rep Power
    0

    FireBird backup error !!!


    When I use the -gbak.exe command to backup my database then the backup is succesfull.

    But when I try to open my backup db, the I get this error:

    Error while testing connection: ISC ERROR CODE: 335544323

    ISC ERROR MESSAGE:
    file c:\testbackup.gdb is not a valid database


    I have tried to open the database with EMS & Database workbench.
    Same error.


    Any idea?

    Regards
    Thomas
  2. #2
  3. Bug Hunter
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Location
    Transylvania (Romania)
    Posts
    309
    Rep Power
    24
    I think you should restore the database first (Now is in a binary transportable format - this is what gbak did)
    Usually the backup files are ended with .gbk or .fbk extension so you cann't confuse with database files .
    You can restore a backup file with "-c" option

    -C(REATE_DATABASE) create database from backup file

    gbak -c employee.gbk test.fdb
    Last edited by mariuz; October 3rd, 2003 at 05:09 PM.

IMN logo majestic logo threadwatch logo seochat tools logo