Platform SDK: Exchange Server

HrBackupGetBackupLogs

The HrBackupGetBackupLogs function obtains the list of log files to back up.

Quick Info

Header file: EDBBCLI.H
Library: EDBBCLI.LIB
Unicode: Yes

HRESULT HrBackupGetBackupLogs(
  HBC pvBackupContext,  
  LPSTR *szBackupLogFile,  
  PDWORD pcbSize        
);
 

Parameters

pvBackupContext
Input parameter. Points to the client-side context handle of the backup.
szBackupLogFile
Output parameter. Points to a list of null-terminated log names as UNC paths. The list is terminated by a double-null character (\0\0).
pcbSize
Output parameter. Points to the number of bytes returned in the buffer.

Return Values

See Return Values.

Remarks

The list of log files are the only files that need to be backed up for a differential or incremental backup. For a full backup, these files need to be backed up in addition to those returned by the HrBackupGetDatabaseNames function.

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

See Also

HrBackupGetDatabaseNames