Have you backed up the win2003AD database?

  
                

The so-called AD, Active Directory, directory service, has thousands of user data in the AD database. If AD data is destroyed one day, the user's data will be lost, which will be a huge loss. . So we have to back up and restore it, and explore how win2003 operates this task.

Backing up the AD database

Backing up the AD database is not complicated, because the backup operation is done through the backup wizard, so even the rookie-level network management can easily get started.

Click “Start → Programs & Rarr; Attachments & Rarr; System Tools & Rarr; Backup & rdquo;, in the "Backup or Restore Wizard" dialog box that opens, click ">Next" button to enter “Backup or Restore" selection dialog.

After selecting the "Backup files and settings" item, click the “Next” button to enter the "To back up content" dialog box, select “Let me choose the content to be backed up&rdquo ; item and click on the "Next" button. In the "Review items to be backed up" dialog box, expand "Desktop → My Computer", and check the "System State" option.

In the next step of the & ldquo; backup type, target, and name & rdquo; dialog box prompts to select the backup file storage path based on good, good name and set the backup file, click on the & ldquo; Next & rdquo; Button. Then click the “Complete" button in the dialog that opens.

At this point, please interrupt other operations in the computer system, because the backup operation of the AD database will start after a while.

Restoring the AD Database

Compared to the backup operation of the AD database, the restore operation of the AD database is slightly more complicated. Because in addition to following the prompts of the Backup Wizard, some additional operations are required to successfully complete the restore. The main reason is that the AD database cannot be restored when the AD service is running normally.

So the restore operation of the AD database should be done as follows:

1. Enter the directory service restore mode

Restart the computer before entering the initial screen of Windows Server 2003, Press F8 to enter the Windows Advanced Options menu interface. At this time, you can use the up and down direction keys on the keyboard to select the “Directory Service Restore Mode (Windows Domain Controller Only)” item.

After confirming the carriage return, log in to the system using an account with administrator privileges. At this point, you can see that the system is in safe mode.

2.Using the Restore Wizard

After entering the directory service restore mode, click “Start → Programs & Rarr; Attachments & Rarr; System Tools & Rarr; Backup & rdquo;, in the open In the Backup or Restore Wizard dialog box, click the “Next” button to go to the "Backup or Restore" dialog box and select "Restore Files and Settings". Select the backup file in the "Restore Project" dialog box.

Click the pop-up interface later in & ldquo; complete & rdquo; button. Wait a moment, the system will pop up a warning prompt box, click the "OK" button to confirm the database overlay operation to start the AD database restore.

After completing the restore operation, click the “Close" button in the dialog box to finish. Finally, a “Backup Tool” will pop up, click the “Yes” button to restart the computer.

The last thing to remind everyone is that some friends will forget the original reset password (set when adding AD service) when restoring the AD database. At this time, you cannot enter the directory restore mode.

Don't panic when you encounter this situation, because we can click the "Start → Run" option in the pop-up run field, enter the "Ntdsutil" command in the pop-up window, in the pop-up window In the reset operation to enter the directory restore mode password.

After setting the restore password successfully, you need to restart the computer. After rebooting, you can use the new restore password to enter the directory service restore mode.

The AD database is an important treasure trove of information. The experienced network administrator usually backs up it. When the AD database has problems, it can be easily restored. Don't hesitate, just back up your AD database.

Copyright © Windows knowledge All Rights Reserved