Subject | RE: [firebird-support] Re: Win7 gbak.exe restore show "fail to create database d:\dbback\rsdata.fdb" |
---|---|
Author | bogdan |
Post date | 2012-09-01T08:12:23Z |
> > > > 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?
> >has
> > > >
> > > > 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
> > > proper rights in that directory?I would try:
> >
> > "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?
>No, the dbdata.fdb is a new fdb name.
>As I say before, this command work just fine in WinXp.
gbak.exe -c -v -R -z -user sysdba -password masterkey d:\dbback\20120831.fbk
server:d:\dbback\rsdata.fdb
Regards Bogdan
[Non-text portions of this message have been removed]