Subject Re: gbak to a non existing directory - Email found in subject
Author ma_golyo
SSH is an alternative, we thought that, but first we wanted confirmation that we cannot create directory.

--- In firebird-support@yahoogroups.com, Michael Ludwig <milu71@...> wrote:
>
> ma_golyo schrieb am 07.06.2012 um 10:25 (-0000):
> > 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 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 : OK
> > #2 : not OK. I cannot create new DB with FB, and I cannot restore a
> > DB with GBAK to a non existing directory.
> > #3 : OK (if #2 done manually)
>
> Makes sense. Looks like you'll have to rely on an additional service
> to create the folder on Linux from the Windows server. SSH comes to
> mind. Google found me this:
>
> http://www.eldos.com/sbb/delphi-ssh.php
>
> Might be a commercial offering, haven't checked.
>
> And you could still install putty/plink (or Cygwin) and shell out to
> start an SSH to the Linux server and then create the directory.
>
> Michael
>