Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-08 Thread Milan Babuskov
ma_golyo wrote: a. This is plan B. b. It's very creative, but ugly... :) How about: c. Modify Firebird source code, before it tries to create the database file, check for directory existence, and then create it. It seems exactly what you need and any decent C/C++ programmer should be able to

Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-08 Thread Dmitry Kuzmenko
Hello, ma_golyo! Thursday, June 7, 2012, 5:32:10 PM, you wrote: m That is why I want/expect to create missing directory with m Firebird/gbak. It can create file but not a directory? It's strange to me. because directories for databases, etc, must be created by administator. It is not strange.

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-08 Thread ma_golyo
After installation access right can be set up for Firebird. But directories needed not after the installation but in the future. --- In firebird-support@yahoogroups.com, Milan Babuskov milanb@... wrote: ma_golyo wrote: what if Firebird on Linux is run under special account (as it usually

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-08 Thread ma_golyo
You created that schema, don't want to change it, and want Firebird be changed for your needs? Yep, that is the case. ;) Really, as it was said, creating db anywhere at the filesystem is dangerous, and violates lot of administrative and security rules. I cannot create DB anywhere, because OS

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread ma_golyo
Why do you not want something like that? What is te purpose of this restriction? Or it's not a restriction, just not implemeted? --- In firebird-support@yahoogroups.com, Leyne, Sean Sean@... wrote: Running gbak -c does not create directories when not exists. How can I force to create

Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread Michael Ludwig
ma_golyo schrieb am 07.06.2012 um 06:07 (-): Why do you not want something like that? What is te purpose of this restriction? Or it's not a restriction, just not implemeted? Guess most people back up their databases to known locations, be it locally or on the server. Willy-nilly creation of

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread ma_golyo
We have - a terminal (win) server where our customers runs our installed client (Delphi) apps, each has it's own version of app in separate folders. - a DB (linux) server where each customer have his databases in separate folders To stat a new customer we have to #1 : copy the app to new

Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread Milan Babuskov
ma_golyo wrote: To stat a new customer we have to #1 : copy the app to new folder (win) #2 : copy the initial DB to new folder (linux) #3 : update inital DB metadata to current app version I'm writing (Delphi) app which does the steps above. App runs on the terminal (win) server. #1

Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread Dmitry Kuzmenko
Hello, ma_golyo! Thursday, June 7, 2012, 2:25:05 PM, you wrote: m To stat a new customer we have to m #1 : copy the app to new folder (win) m #2 : copy the initial DB to new folder (linux) m #3 : update inital DB metadata to current app version m I'm writing (Delphi) app which does the steps

Re: [firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread jen_ming77
to a non existing directory - Email found in subject ma_golyo wrote: To stat a new customer we have to #1 : copy the app to new folder (win) #2 : copy the initial DB to new folder (linux) #3 : update inital DB metadata to current app version I'm writing (Delphi) app which does the steps

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread ma_golyo
what if Firebird on Linux is run under special account (as it usually made by linux administrators)? That is why I want/expect to create missing directory with Firebird/gbak. It can create file but not a directory? It's strange to me. why to separate customer's DBs by folders? Why not to place

[firebird-support] Re: gbak to a non existing directory - Email found in subject

2012-06-07 Thread ma_golyo
a. This is plan B. b. It's very creative, but ugly... :) --- In firebird-support@yahoogroups.com, Milan Babuskov milanb@... wrote: ma_golyo wrote: To stat a new customer we have to #1 : copy the app to new folder (win) #2 : copy the initial DB to new folder (linux) #3 : update inital