LiteDAC

TLiteBackup.OnProgress Event

Occurs during the backup process after copying a portion of database pages.

Class

TLiteBackup

Syntax

property OnProgress: TLiteBackupProgressEvent;

Remarks

Write the OnProgress event handler to be able to respond on the backup process progress. When the backup is started, the backup mechanism tries to copy up to PagesPerStep database pages between the source and destination databases. If there are still more pages to be copied, then the OnProgress event is triggered, and the backup process continues. Otherwise, the backup process is finished. The copying process is described in detail in the Backup article.

Parameters

Sender

The TLiteBackup component that triggers the event

PagesTotal

Total number of pages in the source database

PagesRemaining

Number of pages left to copy

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback