Subject Re: nbackup Problems
Author heilsteffen
Hi

> The nbackup tool directly opens database file, which means
> you can't specify server name nor database alias.

First, the manual says something different:

"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.nbk
> [
> PROBLEM ON "attach database".
> Access to database "/correct/absolute/path/database.fdb" is denied
by
> server administrator
> SQLCODE:-902
> ]
> Failure: Database error

However, I just tried your suggestion but it did not help either:

# 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