Subject Re: Provide filename for backup with service manager
Author mikcaau
--- In firebird-support@yahoogroups.com, "Josef Gschwendtner"
<Josef.Gschwendtner@Q...> wrote:
>
> Hi,
>
> for backups with service manager, I need a fully qualified filename on
> the server computer (C:\mydir\mybackup.fbk) for the new backup file and
> it's not trival to get it because at customer site we normally don't
> know anything about the servers directory structure (at least if I
> connect via an alias).
>
> On the other hand, if I provide just a simple filename as identifier for
> my backup file (e.g. "mybackup.fbk") this file is created (at least in
> our case) within the "windows\system32" directory. This is a bad choice,
> isn't it?
>
<<snip>>
> Regards,
> Josef Gschwendtner
>

If you can read aliases.conf it will have the fully qualified name of
your db file. You can extract the path and append your backup file name.
Only your backup routine needs this privilege.

Mick