Subject Re: [firebird-support] Re: Shutdown Firebird to do backup?
Author XyVy
Thanks Adam.

With regards.

Adam escribió:

>It depends on how transparent you want your backup to be. There is
>another component called FIBPlus that plugs into the VCL that you can
>use if you can't stand a dos box being displayed, but for us it was a
>non issue.
>
>gbak is a dos based program, you can just use the server:alias syntax
>for the database path. Run "gbak -?" in a dos box to get the full
>list or parameters, design the script you need to do the backup, then
>just get your program to call those parameters. Only took me an hour
>to do in delphi from scratch, (including the UI and merging it into
>our main program). We just offer a 'Save As' style box for both the
>Backup file and the Backup log.
>
>Adam
>
>--- In firebird-support@yahoogroups.com, XyVy <xyvy@o...> wrote:
>
>
>>Then Adam, I need to call gbak from my application and indicate
>>
>>
>where
>
>
>>must to backup the database, isn't it?
>>
>>Thanks.
>>
>>Adam escribió:
>>
>>
>>
>>>--- In firebird-support@yahoogroups.com, XyVy <xyvy@o...> wrote:
>>>
>>>
>>>
>>>
>>>>Hello guys.
>>>>
>>>>I need to do backup from my application, should I do a Firebird
>>>>
>>>>
>>>>
>>>>
>>>shutdown
>>>
>>>
>>>
>>>
>>>>before to backup file .gdb ? If I should do it, what will be the
>>>>
>>>>
>>>>
>>>>
>>>correct
>>>
>>>
>>>
>>>
>>>>way? I use C++ Builder 6.
>>>>
>>>>Thanks in advance.
>>>>Mery christmas!
>>>>
>>>>
>>>>
>>>>
>>>No you don't need to shut it down. gbak has options about
>>>transactions in limbo etc. You obviously need to be the only user
>>>when doing a restore, but we just use ShellExecute to launch a
>>>
>>>
>gbak
>
>
>>>command.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>[Non-text portions of this message have been removed]
>>
>>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>



[Non-text portions of this message have been removed]