Subject | Re: [IBO] IBOAdmin Backup |
---|---|
Author | Don Gollahon |
Post date | 2004-03-11T01:00:37Z |
""Eddie Bush"" <eabush@...> wrote in message
news:<03b301c406f6$4d38dc30$240110ac@eddie>...
does work though :-)
got:
IBOBackupService1 := TIBOBackupService.Create(nil);
with IBOBackupService1 do
begin
Params.Add('user_name=xxxx');
Params.Add('password=yyyy');
try
Verbose := True;
Options := [IgnoreLimbo];
DatabaseName := gIP+':'+gFBPath;
vBFile := extractfilepath(gFBPath)+'syncBkUp.fbk';
BackupFile.Add(vBFile);
Active := True;
ServiceStart;
while not eof do
begin
Application.ProcessMessages;
Screen.Cursor := crHourGlass;
Memo1.Lines.Add(GetNextLine);
Memo1.Update;
end;
Memo1.Lines.Add('Backup file - ' + vBFile);
Memo1.Lines.Add('Backup complete...');
finally
Active := False;
screen.cursor := crdefault;
end; //try/finally
end;//with...
news:<03b301c406f6$4d38dc30$240110ac@eddie>...
> See pg 277+ of the DevGuide.pdf doco. I don't remember what I had donewrong to produce that error, but I initially had the exact same problem. It
does work though :-)
>Still won't work. Now it says operation canceled by user. Here's what I've
> Regards,
>
> Eddie
got:
IBOBackupService1 := TIBOBackupService.Create(nil);
with IBOBackupService1 do
begin
Params.Add('user_name=xxxx');
Params.Add('password=yyyy');
try
Verbose := True;
Options := [IgnoreLimbo];
DatabaseName := gIP+':'+gFBPath;
vBFile := extractfilepath(gFBPath)+'syncBkUp.fbk';
BackupFile.Add(vBFile);
Active := True;
ServiceStart;
while not eof do
begin
Application.ProcessMessages;
Screen.Cursor := crHourGlass;
Memo1.Lines.Add(GetNextLine);
Memo1.Update;
end;
Memo1.Lines.Add('Backup file - ' + vBFile);
Memo1.Lines.Add('Backup complete...');
finally
Active := False;
screen.cursor := crdefault;
end; //try/finally
end;//with...
> ----- Original Message -----It
> From: Don Gollahon
> To: IBObjects (E-mail)
> Sent: Wednesday, March 10, 2004 4:22 PM
> Subject: [IBO] IBOAdmin Backup
>
>
> I'm trying to use the IBOAdmin backup service and can't get it to work.
> fails on the attach with a "SPB constant not supported." Does anyonehave a
> simple example of how this works?spam
>
> I've tried to email the author but can't get an email thru. He has a
> blocker and when I get the email from it the link doesn't work to verifythe
> email.___________________________________________________________________________
>
> Any help would be appreciated.
>
> Thanks.
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.611 / Virus Database: 391 - Release Date: 3/6/2004
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>