Open firebird-automations opened 17 years ago
Commented by: @dyemanov
Backup via SvcMgr is done by the server in its address space. When it's running as a service, the current directory is %SYSTEM%. So technically, there are no bugs here. But I agree this is not very obvious from the user POV. Any better suggestions?
Submitted by: @reevespaul
A command such as this:
gbak -b -service localhost:service_mgr c:\firebird\examples\employee.fdb employee.fbk
will generate the backup file in the system directory. However, if the service manager is not used the backup file is placed in the current directory (as one would expect.)
I can't see how this could be exploited, but it is certainly not an example of good practice.