FireDAC.Phys.IBBase.TFDIBBackup.BackupFiles

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BackupFiles: TStrings read FBackupFiles write SetBackupFiles;

C++

__property System::Classes::TStrings* BackupFiles = {read=FBackupFiles, write=SetBackupFiles};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
FireDAC.Phys.IBBase TFDIBBackup

Description

Specifies the backup files.

Use the BackupFiles property to specify one or more backup output files. The paths are relative to the DB server host.

When several files are specified, this corresponds to gsplit functionality. Each file must be specified on a separate line. Optionally, BackupFiles allows you to specify the length in bytes for the backup output file. You can specify one length value for each output file except the last one. The length can be specified after a backup file name, separated by '='.

The path variables are supported.

Example 1

Specifying multiple files with length:

with FDIBBackup1.BackupFiles do begin
  Clear;
  Add('/tmp/addemo.backup1=10000000');
  Add('/tmp/addemo.backup2=10000000');
  Add('/tmp/addemo.backup3');
end;

Example 2

Specifying single file:

FDIBBackup1.BackupFiles.Text := 'e:\temp\addemo.backup';

See Also