Subject Re: Win7 gbak.exe restore show "fail to create database d:\dbback\rsdata.fdb"
Author bigredinf
Dear Thomas,

thanks for your quick reply.

> > In WinXp, I use the command
> >
> > gbak.exe -c -v -R -z -user sysdba -password masterkey d:\dbback\20120831.fbk d:\dbback\rsdata.fdb
> >
> > 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

Regards,

Kadee Aon
http://www.tw165.com