Subject Re: Moving from wxp to linux64 problem
Author nxciro
--- In firebird-support@yahoogroups.com, "nxciro" <pict100@...> wrote:
>
> --- In firebird-support@yahoogroups.com, "Ann W. Harrison"
> <aharrison@> wrote:
> >
> > nxciro wrote:
> > > I am trying to move a database
> > > from a wxp machine running firebird SS 1.5.3
> > > to a suse9.2 64 machine running SS 2.0RC1 64
> > >
> > > gbak -r -v MYTEST.FBK MYTEST.FDB user sysdba password mylinuxpass
> > >
> > > gbak: ERROR:size specification either missing or incorrect
> > > for file MYTEST.FDB
> > > gbak:Exiting before completion due to errors
> > >
> > From the context, it sounds as if there may be an incompatibility
> > between the 32 and 64 bit gbak's. If I were you, and was willing
> > to spend the time, I'd try restoring that backup on a 32 bit
> > Linux version of Firebird 2.0 and on a Firebird/Linux 1.5. If
> > the 1.5 fails, come back here and we'll figure out what's going
> > on because it's something specific to your database - probably a
> > bug in gbak, but a low probability one. If the restore works
> > on 1.5, take the results to the devel list -
> >
> > Thanks,
> >
> >
> > Ann
> >
>
After some more testing I now know the problem

gbak for linux 64 needs the absolute path for all
the files , even if one calls up a console window in the directory
where the files are actually located.

so my original command was from the prompt in
the somedir/somedir2/storage directory

/opt/firebird/bin/gbak -r -v MYTEST.FBK MYTEST.FDB user sysdba
password mypassword

and it did not work .

It should have been :

/opt/firebird/bin/gbak -r -v /somedir/somedir2/storage/MYTEST.FBK
/somedir/somedir2/storage/MYTEST.FDB user sysdba password mypassword

This is a little awkward especially given the rather misleading
error message. The error message in this case should be
something like ...absolute paths required or file not found....
and not complaining about some size issue


Nx