Subject | Re: [firebird-support] Re: Win7 gbak.exe restore show "fail to create database d:\dbback\rsdata.fdb" |
---|---|
Author | Werner F. Bruhin |
Post date | 2012-09-01T07:07:08Z |
On 01/09/2012 04:25, bigredinf wrote:
db file exists. Any chance that dbdata.fdb is open by another process?
Werner
[Non-text portions of this message have been removed]
>Shouldn't the "-R" be lower case?
> 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
>
>WIN7 user has to have rights to the file to create and to delete if the
> > >
> > > 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
>
db file exists. Any chance that dbdata.fdb is open by another process?
Werner
[Non-text portions of this message have been removed]