Subject Re: [IBO] IBOAdmin Backup
Author Eddie Bush
Very odd. Did you grab the IBX update off the community site? I don't have
the URL, but hit community.borland.com and search for IBExpress Update (it
may actually have been IBX something instead of IB Express...). I don't
even remember where I got the lead for that now ...

I sure thought mine worked before the update though. Are you running FB
1.5? That's what I've got going here ...

If you can't find it, drop me a line and I can email it to you or something.

Good Luck!

Eddie

Oh - just noticed you're actually creating yours. I used the component on a
data module. I don't know if that makes a difference ... I also did not
change any "Options" etc. Maybe there is a bug in them that only surfaces
with certain options set? Are you still getting the same exact error? I
wish I could remember why I got that error ...
----- Original Message -----
From: Don Gollahon
To: IBObjects (E-mail)
Sent: Wednesday, March 10, 2004 7:00 PM
Subject: Re: [IBO] IBOAdmin Backup




""Eddie Bush"" <eabush@...> wrote in message
news:<03b301c406f6$4d38dc30$240110ac@eddie>...
> See pg 277+ of the DevGuide.pdf doco. I don't remember what I had done
wrong to produce that error, but I initially had the exact same problem. It
does work though :-)
>
> Regards,
>
> Eddie

Still won't work. Now it says operation canceled by user. Here's what I've
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...


---
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/7/2004

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