Directory Services |
The DsBackupGetBackupLogs function obtains the list of log files that need to be backed up for the given backup context.
HRESULT DsBackupGetBackupLogs( HBC hbc, LPTSTR* pszBackupLogFiles, LPDWORD pcbSize );
This list receives a double null-terminated list of single null terminated strings.
This buffer is allocated by the DsBackupGetBackupLogs function and must be freed when it is no longer needed by calling the DsBackupFree function.
The first character of each of the file names contains one of the BFT Constants that identifies the type of name.
The DsBackupGetBackupLogs function provides a list of the log files necessary for a backup. A full backup consists of the database files provided by the DsBackupGetDatabaseNames function and the log files. Incremental backups of Active Directory are not supported.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Unicode: Implemented as Unicode and ANSI versions.
Header: Declared in Ntdsbcli.h.
Library: Use Ntdsbcli.lib.
DsBackupFree, DsBackupGetDatabaseNames, BFT Constants, Directory Backup Functions, Backing Up and Restoring Active Directory