Directory Services |
The DsBackupTruncateLogs function truncates the backup logs that are already read.
HRESULT DsBackupTruncateLogs( HBC hbc );
One of the standard HRESULT success codes; otherwise, a failure code.
Use the DsBackupTruncateLogs function when a full or incremental backup has completed successfully.
Warning Do not use this function after a differential backup.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Ntdsbcli.h.
Library: Use Ntdsbcli.lib.
Backing Up and Restoring Active Directory, Directory Backup Functions, DsSetCurrentBackupLog