Platform SDK: Exchange Server

HrBackupTruncateLogs

The HrBackupTruncateLogs function deletes the committed database log files.

Quick Info

Header file: EDBBCLI.H
Library: EDBBCLI.LIB

HRESULT HrBackupTruncateLogs(
  HBC pvBackupContext  
);
 

Parameters

pvBackupContext
Input parameter. Points to the client-side context handle of the backup.

Return Values

See Return Values.

Remarks

Use the HrBackupTruncateLogs function when a full or incremental backup has completed successfully.

Warning  Do not use this function after a differential backup.

For more information on this function, see Backing Up and Restoring Data.

See Also

HrSetCurrentBackupLog