Windows 2008 backup with wbadmin & ntdsutil

Open the command prompt:

C: ntdsutil
ntdsutil: help -> to access the help files
ntdsutil: IFM
ntdsutil: Activate Instance NTDS
ntdsutil: IFM
ifm: help -> to access the help files
ifm: Create Full %s(the backup folder name)

C: wbadmin start systemstatebackup -backupTarget:d(the backup drive):

wbadmin restore
C: wbadmin get versions
C: wbadmin start systemstaterecovery version: (location)
C: ntdsutilĀ 
ntdsutil: activate instance ntds
ntdsutil: authoritative restore
authoritative restore: restore subtree “ou=ouname,dc=domainname, dc=com”

C:ntdsutil
ntdsutil: Activate Instance NTDS
ntdsutil: Files
Stop Active Directory Service from the “Services”
Files Maintenance: Compact to C:
After Compacting copy the files from c:ntds.dit to c:windowsntdsntds.dit
and delete the old log files:
c: del c:windowsntds*.log

C:ntdsutil
ntdsutil: Activate Instance NTDS
ntdsutil: Files
files maintenance: integrity

ntdsutil: semantic database analysis
semantic checker: go fixup