Snapshots are a useful feature of Windows Server 2008. Taking a snapshot of Active Directory as a scheduled task can prove to be a wise precaution in case disaster strikes. Once they are mounted, they can be accessed by any LDAP tool which allows the user to specify a host name and port number.
Snapshots are a feature of Active Directory introduced in Windows Server 2008. In order to use them you don’t have to have your domain running in Windows Server 2008 mode but you do need at least one Windows Server 2008 or Windows Server 2008 R2 domain controller.
Snapshots are created and manipulated using the ntdsutil.exe command line utility. Once you have an Active Directory snapshot you can export it using dsamain.exe (otherwise known as the Active Directory database mounting tool), and you can then interact with it using any Active Directory or LDAP tool. To work with Active Directory snapshots you need to be a member of either the Domain Admins or Enterprise Admins group.
The process of creating an Active Directory snapshot is reasonably straightforward:
1. Log onto a Windows Server 2008 domain controller
2. Launch an elevated command prompt
3. Type ntdsutil and press enter
4. Type snapshot and press enter
5. Type activate instance ntds and press enter.
6. Type create and press enter.
The create command will return the following output:
Snapshot set {<GUID>} generated successfully.

A snapshot can also be created with a single line ntdsutil.exe command:
ntdsutil snapshot “activate instance ntds” create quit quit

The single line command can be used to automate the creation of Active Directory snapshots by putting it in a batch file and using Task Scheduler to automate its execution (with the appropriate credentials).
Once snapshots have been created they can be listed with the ntdsutil.exe list all command:

A snapshot is then mounted using the mount command:

After the snapshot is mounted you can quit ntdsutil.
To export the data we use the dsamain.exe command line utility with the following syntax:
dsamain /dbpath <path to database file> /ldapport <PortNumber>

Once the snapshot is exported with dsamain.exe you can connect to the LDAP server which it hosts using the familiar suite of Active Directory tools such as Active Directory Users and Computers or ADSIEdit. For example, to connect using Active Directory Users and Computers:
1. Launch Active Directory Users and Computers
2. Right-click Active Directory Users and Computers then click Change Domain Controller
3. Click <Type a Directory Server name[:port] here>, type the name of the Directory Server and port, press enter, then click OK
Active Directory Users and Computers is now accessing the snapshot data, and you will notice that the object attributes are read-only.
This document contains steps that will assist you evaluate the basic Performance of a SQL Server 2008 RTM Enterprise Edition (non-clustered) Instance. It defines the basics of creating and evaluating the performance of a single Instance of SQL Server 2008, and should be used as a starting point.
| Task | Notes | Confirmed |
| Backups Checked, Full System Backups Complete. | http://bit.ly/3IF34A | |
| Baseline Performance Metrics Created and Archived. | http://bit.ly/1xtJk4 | |
| Server and Database Settings Configured for Environment. | http://bit.ly/UvpbH | |
| Latest Service Packs Installed. | http://bit.ly/40JY5f | |
| Maintenance Wizard or other Automated Maintenance Implemented. | http://bit.ly/16jnXG | |
| Windows Event Logs Reviewed. | http://bit.ly/6IaNH | |
| SQL Server Error Logs Reviewed. | http://bit.ly/6IaNH | |
| Drive Space Checked. | http://bit.ly/EJQoM | |
| Jobs History Reviewed. | http://bit.ly/i1Jbd | |
| Indexes Updated. | http://bit.ly/vmpz5 | |
| Statistics Updated. | http://bit.ly/Nmyia | |
| Indexes Reviewed. | http://bit.ly/vmpz5 | |
| Long-Running Queries Reviewed | http://bit.ly/3yZ8P | |
| Service Packs and OS Security Bulletins Evaluated and Applied. | http://bit.ly/40JY5f | |
| New Performance Baseline Recorded. | http://bit.ly/rA0zI | |
| Performance Reviews Completed from Baseline Comparisons. | http://bit.ly/rA0zI | |
| Growth Predictions Created from Baseline Metrics. | http://bit.ly/1xtJk4 |
This document contains steps that will assist you in the day-to-day SQL Server 2008 RTM Enterprise Edition (non-clustered) operations. It defines the basics of standard maintenance and checks for a single Instance of SQL Server 2008, and should be used as a starting point.
| Frequency | Task | References | Confirmed |
| Post-Installation | Server and Database Settings Configured for Environment. | http://bit.ly/H6z28 | |
| Latest Service Packs Installed. | http://bit.ly/196VzN | ||
| Database Mail Configured and Tested. | http://bit.ly/8uEUn | ||
| Maintenance Wizard or other Automated Maintenance Implemented. | http://bit.ly/16nhdL | ||
| Baseline Performance Metrics Created and Archived. | http://bit.ly/gVyI0 | ||
| Daily | Backups Checked. | http://bit.ly/2Ihz0f | |
| Windows Event Logs Reviewed. | http://bit.ly/1uGRe | ||
| SQL Server Error Logs Reviewed. | http://bit.ly/2Gk967 | ||
| Drive Space Checked. | http://bit.ly/3mdRPj | ||
| Jobs History Reviewed. | http://bit.ly/1gm4qM | ||
| Backups Taken. | http://bit.ly/sKgwj | ||
| Indexes Updated. | http://bit.ly/7wpHx | ||
| Statistics Updated. | http://bit.ly/3XGBKA | ||
| Weekly | Indexes Reviewed. | http://bit.ly/2DpOMR | |
| Long-Running Queries Reviewed | http://bit.ly/45RCm | ||
| Data Archival Performed. | http://bit.ly/sKgwj | ||
| Security Reviewed. | http://bit.ly/1asALb | ||
| Service Packs and OS Security Bulletins Evaluated and Applied. | http://bit.ly/q46L0 | ||
| Monthly | Security Tests Performed. | http://bit.ly/119slV | |
| New Performance Baseline Recorded. | http://bit.ly/gVyI0 | ||
| Restore Tests Performed on Production Server to Backup Server. | http://bit.ly/4vG8s | ||
| Yearly | Performance Reviews Completed from Baseline Comparisons. | http://bit.ly/gVyI0 | |
| Growth Predictions Created from Baseline Metrics. | http://bit.ly/vWSqS | ||
| Instance Audit Performed. | http://bit.ly/12WPkh | ||
| Version Upgrade Plan Evaluated. | http://bit.ly/e5MIy |

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 