Subject Database back up
Author Grant Brown
Hi to all,

Using D5, FB 1.5 - super server mode

I have the following code that preforms a back up of my data base (using
FIBPlus components) which works fine for doing a remote back up from a
remote machine.

--------------Start code snippet
----------------------------------------------
BackupService1.DatabaseName := 'D:\Comelli Bros\Application\CMB001.FDB';
BackupService1.ServerName := '192.128.3.101';
BackupService1.BackupFile.Add('D:\Comelli Bros\Application\CMB001.bck');
try
BackupService1.Active := True;
BackupService1.ServiceStart;
while not (BackupService1.Eof) do
Memo1.Lines.Add(BackupService1.GetNextLine);
finally
BackupService1.Active := False;
end;
--------------End code snippet
----------------------------------------------

So I now have a backup file sitting on the remote machine (ie the
server) but how do I copy this back up file to my local machine using
the server name and back up file name as per above ?

--
Regards,
Grant Brown

Product Development Manager
Phone : 02 4229 1185
Mobile : 0412 926 995
Email : grant@...
Web : www.sitedoc.com.au

SiteDoc - Easy to Use - Powerful Results