June 29, 2017

How to Backup Active Directory Domain Services Database in Windows Server 2012 R2


You can back up AD DS by using Windows Server Backup, Wbadmin.exe or PowerShell. Depending on the roles installed on the computer running Windows Server 2012 R2, the System State Data on a Domain Controller includes the following components:
  • Active Directory Database (Ntds.dit)
  • The SYSVOL shared folder
  • The registry
  • System startup files
  • The COM+ Class Registration database
  • Active Directory Certificate Services (AD CS) database
  • Cluster service information
  • Microsoft Internet Information Services (IIS) metadirectory
  • System files under Windows Resource Protection
Backing up the System State in Windows Server 2012 R2 creates a point-in-time snapshot that you can use to restore a server to a previous working state. It does this using the Volume Shadow Copy Service (VSS). VSS helps to prevent inadvertent data loss.
To back up the System State Backup using the Graphical User Interface (GUI), perform the following steps:
1. Log on to the domain controller with an account that is a member of the Domain Admins group and Open Server Manager from the Taskbar.
1
2. In the Server Manager, click the Tools Menu and select Windows Server Backup.
2
3. In the Wbadmin (Windows Server Backup) Local console, Click Backup Once in the Actions pane.
3
4. On the Backup Once Wizard page, click the Different Options, and then click Next.
4
5. On the Select Backup Configuration page, click the Custom button, and then click Next.
5
6. On the Select Items for Backup page, click the Add Items button. In the Select Items Windows, check System statecheck box, and then click OK.
6
6i
7. Back on the Select Items for Backup page, click Advanced Settings, and then click VSS Settings and select VSS full backup click Next.
7
7i
7ii
8. On the Specify Destination Type page, select either the Local drives or Remote shared folder button and click Next.
8
9. On the Select Backup Destination page, select the backup destination and then click Next.
9
10. On the Confirmation page review the Backup items, and then click Backup to continue..
10
11. On the Backup Progress page, System state backup status is completed and then clicks Close.
11
To back up System State through the Wbadmin.exe:
1. Open Command Prompt (Admin).
2. In the Administrator: Command Prompt, type wbadmin.exe Start SystemStateBackup
–backuptarget:E:
This will back up the System State from volume(s) from Local Disk (C:) to E:.
Do you want to start the backup operation?
Type Y for Yes and Press Enter.
wbadmin Systemstate backup
Next, Wbadmin.exe creates the shadow copy of the C drive. After it does this it identifies the system state files to back up. Once it has completed its search for system state files, it begins the back up.
Figure shows that back up of system state completed successfully.
Backup completed
Once the backup is complete, wbadmin.exe creates a log with a naming convention of System State Backup-14-08-2014_07-52-55.log.
Backup log


Summary:
Backing of Active Directory is essential to maintain an AD DS database. You can back up AD DS by using Graphical User Interface (GUI), Wbadmin.exe or PowerShell. I hope this article helps during Backing up AD DS Database in Windows Server 2012 R2 Domain Controller.
source: http://www.msserverpro.com/backup-ad-ds-database-windows-server-2012-r2/
https://www.slideshare.net/laonap166/how-to-backup-active-directory-domain-services-database-in-windows-server-2012-r2

0 comments:

Post a Comment