Backing Up a Database to Multiple Files
Go Up to Backing Up Databases
InterBase allows you to back up a database to multiple files. To do this, you must specify the size of each backup file except for the last, which will hold the remaining information.
procedure TForm1.Button2Click(Sender: TObject); begin with IBBackupService1 do begin ServerName := 'Poulet'; LoginPrompt := False; Params.Add('user_name=sysdba'); Params.Add('password=masterkey'); Active := True; try Verbose := True; Options := [MetadataOnly, NoGarbageCollection]; DatabaseName := 'employee.gdb'; BackupFile.Add('c:\temp\e1.gbk = 2048'); BackupFile.Add('c:\temp\e2.gbk' = 4096); BackupFile.Add('c:\temp\e3.gbk'); ServiceStart; While not Eof do Memo1.Lines.Add(GetNextLine); finally Active := False; end; end; end;