The Win2003AD database is so important, have you backed up?

  

In large enterprises, if the AD in Win2003 disappears unwarrantedly, I believe many people will definitely blow up the pot. Because once AD ​​disappears, thousands of data will disappear, and it is impossible to recover one by one. Such a huge amount of engineering will ruin many people. So, what is the killing AD data?

What is an AD database?

The so-called AD, Active Directory, directory service, there are thousands in the AD database. Ten thousand user data, if one day AD data is destroyed, the user's data is lost, which will be a huge loss. So we must learn how to back up AD data.

Backing up the AD database method

Click “Start → Programs & Rarr; Attachments & Rarr; System Tools & Rarr; Backup & rdquo;, in the "Backup or Restore Wizard" dialog box that opens Click on the "Next" button to enter the "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, "Backup Type, Target and Name" dialog box, select the storage path of the backup file according to the prompt, and set the name of the backup file, click the "Next" 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 “Complete" button in the interface that pops up later. 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 above is about the method of backing up and restoring the AD database in the Win2003 system. When the AD database has various problems, it can easily complete the data restoration of the AD database. In order to respond to emergencies, what are you waiting for now? Try the above steps quickly.

Copyright © Windows knowledge All Rights Reserved