| Platform SDK: Active Directory, ADSI, and Directory Services |
The following table lists the backup and restore functions and explains what they are used for.
| Function | Purpose |
|---|---|
| DsBackupClose | Closes the current file being backed up. |
| DsBackupEnd | Cleans up after a backup operation has been performed. |
| DsBackupFree | Frees memory allocated during one of the backup functions. |
| DsBackupGetBackupLogs | Obtains the list of log files to be backed up. These are the only files that need to be backed up for a differential or incremental backup. |
| DsBackupGetDatabaseNames | Returns a list of the attached databases on the remote machine. |
| DsBackupOpenFile | Opens a remote file for backup and will perform whatever client and server operations are needed to prepare for the backup. |
| DsBackupPrepare | Connects to a remote directory database and prepares it for backup. |
| DsBackupRead | Reads one block from a backup file. |
| DsBackupTruncateLogs | Deletes the committed database log files. |
| DsIsNTDSOnline | Checks to see if the Windows NT®/Windows® 2000 Active Directory™ service is online on the specified server. |
| DsRestoreEnd | Cleans up after a restore operation has been performed. |
| DsRestoreGetDatabaseLocations | Returns the database locations for the server and service that the hbcRestoreContext handle refers to. |
| DsRestorePrepare | Connects to a remote directory database and prepares it for restore. |
| DsRestoreRegister | Registers a restore operation. |
| DsRestoreRegisterComplete | Completes a restore operation. |
| DsSetAuthIdentity | Sets the security context under which the directory backup APIs are called. |
| DsSetCurrentBackupLog | Sets the last log number that was backed up. |
Active Directory Display Functions, Backing Up and Restoring Active Directory, DC and Replication Management Functions, Directory Service Functions