The HrSetCurrentBackupLog function sets the last log number that was backed up.
Header file: | EDBBCLI.H |
Library: | EDBBCLI.LIB |
Unicode: | Yes |
HRESULT HrSetCurrentBackupLog(
LPTSTR szServerName,
LPTSTR szBackupAnnotation,
DWORD dwCurrentLog
);
Note The server name cannot contain an underscore.
See Return Values.
The HrSetCurrentBackupLog function does not normally need to be called. The backup functions automatically determine and set the last log number backed up. Use HrSetCurrentBackupLog to prevent another incremental backup from succeeding until a full backup is performed. For example, after running a defragmentation on the directory or information store in the Microsoft Exchange Server Administrator program, no further incremental backups are allowed until a full backup is performed.
For more information on this function, see Backing Up and Restoring Data.