Subject | Re: [firebird-support] how do i run gbak from delphi |
---|---|
Author | Markus Ostenried |
Post date | 2004-07-17T19:41:19Z |
At 19:24 Saturday, 17.07.2004 +0000, petesouthwest wrote:
+' backup18
^
If that doesn't work then you should test the command in a console window
first.
Take the contents of backupStr and paste it exactly as it is into the
console window.
HTH,
Markus
>I am trying to run gbak from delphi using:Are you missing a space character here?
>shellexecute(form1.handle,'open',pchar
>(backupStr),nil,nil,sw_shownormal);
>
>where backupStr:= 'gbak [-b] -user sysdba -pass masterkey '+
>IB_connection1.databaseName +'backup18_07_04.gbk'
+' backup18
^
If that doesn't work then you should test the command in a console window
first.
Take the contents of backupStr and paste it exactly as it is into the
console window.
HTH,
Markus