Subject Re: [firebird-support] GBak and DatabaseAccess=None
Author Thomas Steinmaurer
Hi!

> We are giving GBak the alias name. It seems to want to convert that to the actual filename which then gets blocked via the DatabaseAccess setting.
>
> I don't think it is relevant but I will mention that I am launching this from the server. The exact launch command is this:
>
> "C:\Program Files\Firebird\Firebird_2_1\bin\gbak.exe" -v -t -g -co -user SYSDBA -password masterkey MyAlias c:\BackupFile.fbk

If you are local to your Firebird server, have you tried using:

localhost:MyAlias


for the connect string?



--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com
My blog:
http://blog.upscene.com/thomas/



> -rs
>
>
>
> ________________________________
> From: Svein Erling Tysvær <svein.erling.tysvaer@...>
> To: "firebird-support@yahoogroups.com" <firebird-support@yahoogroups.com>
> Sent: Wed, 5 May, 2010 3:29:15 PM
> Subject: RE: [firebird-support] GBak and DatabaseAccess=None
>
>
> Have you tried using the database alias rather than the full file name with gbak?
>
> Set
>
> -----Original Message-----
> From: firebird-support@ yahoogroups. com [mailto:firebird-support@ yahoogroups. com] On Behalf Of Randall Sell
> Sent: 5. mai 2010 05:43
> To: firebird-support@ yahoogroups. com
> Subject: [firebird-support] GBak and DatabaseAccess= None
>
> Hi,
>
> This caught me a bit by surprise... I went to do a backup but couldn't. I was getting an error like this:
>
> gbak: ERROR:Access to database "C:\xxxxx\File. FDB" is denied by server administrator
> gbak:Exiting before completion due to errors
>
> When I set DatabaseAccess= Full in Firebird.conf the backup went ahead no problem.
>
> Is this expected? How then, does one do a full backup on a secured server, without using nBackup?
>
> cheers,
> -randall
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>
>