Subject | Re: Win7 gbak.exe restore show "fail to create database d:\dbback\rsdata.fdb" |
---|---|
Author | bigredinf |
Post date | 2012-09-01T07:22:25Z |
thanks for reply,
As I say before, this command work just fine in WinXp.
Regards,
Kadee Aon
www.tw165.com
> > > > In WinXp, I use the commandI also try -r ,but all the same.
> > > >
> > > > gbak.exe -c -v -R -z -user sysdba -password masterkey
> > d:\dbback\20120831.fbk d:\dbback\rsdata.fdb
> >
> Shouldn't the "-R" be lower case?
> >No, the dbdata.fdb is a new fdb name.
> > > >
> > > > to check if my backup file (d:\dbback\20120831.fbk) is OK.
> > > >
> > > > but when I run this command in Win7,
> > > > the command console show
> > > > "fail to create database d:\dbback\rsdata.fdb"
> > >
> > > - Does the directory d:\dbback exist?
> >
> > FYI,I use firebird Ver 1.5.4910,
> > and gbak.exe is placed in d:\dbback
> > so I can sure d:\dbback exist.
> >
> > > - Does the user, under which the Firebird server process is running has
> > > proper rights in that directory?
> >
> > "the user" you mean is [Win7 login user] or [sysdba] ?
> >
> > in Win7, when I use the command
> >
> > gbak.exe -b -g -z -v -user sysdba -password masterkey
> > server:d:\fb\dbdata.fdb d:\dbback\20120831.fbk
> >
> > to backup remote database to local Win7 pc,
> > and the backup process is doing just fine.
> > I don't know how to set the proper right to d:\dbback
> >
> WIN7 user has to have rights to the file to create and to delete if the
> db file exists. Any chance that dbdata.fdb is open by another process?
As I say before, this command work just fine in WinXp.
Regards,
Kadee Aon
www.tw165.com