Subject | Re: nbackup Problems |
---|---|
Author | heilsteffen |
Post date | 2007-11-05T08:13:53Z |
Hi
"Instead of a database filename you may also specify an alias."
http://www.firebirdsql.org/manual/nbackup-backups.html#nbackup-
backups-full, Section "Full Backup", second comment
AND while using the alias, the correct filename IS resolved
# nbackup -U sysdba -P ...... -B
0 /correct/absolute/path/database.fdb db.nbk
[
PROBLEM ON "attach database".
Access to database "/correct/absolute/path/database.fdb" is denied by
server administrator
SQLCODE:-902
]
Failure: Database error
Any other hints?
Regards,
Steffen
> The nbackup tool directly opens database file, which meansFirst, the manual says something different:
> you can't specify server name nor database alias.
"Instead of a database filename you may also specify an alias."
http://www.firebirdsql.org/manual/nbackup-backups.html#nbackup-
backups-full, Section "Full Backup", second comment
AND while using the alias, the correct filename IS resolved
> # nbackup -U sysdba -P ...... -B 0 alias.fdb db.nbkby
> [
> PROBLEM ON "attach database".
> Access to database "/correct/absolute/path/database.fdb" is denied
> server administratorHowever, I just tried your suggestion but it did not help either:
> SQLCODE:-902
> ]
> Failure: Database error
# nbackup -U sysdba -P ...... -B
0 /correct/absolute/path/database.fdb db.nbk
[
PROBLEM ON "attach database".
Access to database "/correct/absolute/path/database.fdb" is denied by
server administrator
SQLCODE:-902
]
Failure: Database error
Any other hints?
Regards,
Steffen