Logo
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
World Cup news
 
 
Windows Server

Backing Up Windows Server 2008 (part 2) - Individual Component Backup

3/24/2011 4:11:42 PM

Individual Component Backup

Whereas full server backups capture the contents of an entire server to provide recovery options in the event of a catastrophic failure, the scope and benefits of an individual component backup are more specific in nature. These backups commonly provide some form of rollback support and guard against unwanted configuration changes should something go awry during an operation such as an upgrade, a patch cycle, or the rollout of new solution packages to the farm.

Individual component backups, and their associated recovery operations, usually require that the server already be operational and in good general health. This precondition is assumed for each of the backup procedures that follow.

Files and File Folders

Backing up files and folders on the server entails using the Windows Server Backup snap-in and a process that is similar to the one described previously for a full server backup. The prerequisites for a full server backup apply here, as well, but with one notable exception: no service account is needed, as described in prerequisite 3.

Note

Although this specific walk-through details a one-time backup of files and folders on the server, it is certainly possible to establish a scheduled backup for these items. Anytime a scheduled backup is established, it is considered a best practice to run the scheduled job within the context of a service account. For one-time backups, however, backup operations are conducted directly from the context of your user account.


Once you have addressed all prerequisites, you are ready to proceed.

  1. Log on to the server that is to be backed up using your account credentials.

  2. Click the Start button and navigate to Administrative Tools, Windows Server Backup. Doing so brings up the Windows Server Backup MMC snap-in, as shown previously in Figure 1.

  3. Click the Backup Once link under the Actions menu on the right side of the menu to launch the Backup Schedule Wizard. After a few moments with a progress bar, the Getting Started page of the Backup Schedule Wizard appears with some basic information about the wizard. Click the Next button to continue.

  4. The Backup Once Wizard appears as shown in Figure 8. If one or more scheduled backup jobs exist, the Scheduled backup options selection is available. The selection of interest for this exercise, however, is the Different Options selection. Choose this option button and click the Next button to continue.

  5. You are prompted to select either a Full Server or a Custom backup, as shown in Figure 10. Select the Custom option to specify a subset of folders and files, and then click the Next button to continue.

    Figure 10. Selecting the backup configuration.
  6. The Select Items for Backup page appears as shown in Figure 11. It is here that files and folders are selected as backup targets. Initially, no files and folders are selected. Click the Add Items button to begin the selection process.

    Figure 11. Items that are selected for backup.

    Note

    The Advanced Settings button affords you some additional control over the backup operation, including the option to specify backup exclusions and the ability to indicate how application log files should be handled by the Volume Shadow Copy Service (VSS) during the backup operation. The default settings for these options are sufficient for onetime backups, but investigate the Advanced Settings if you desire greater control for the areas mentioned.


  7. The Select Items dialog box appears, as shown in Figure 12. It is here that you can specify files, folders, system state, and additional backup targets. In this example, all the files in the GAC (at C:\Windows\assembly) are selected for a one-time backup. Once the GAC has been selected, the OK button is clicked to continue.

    Figure 12. Selecting items to be backed up.
  8. The Select Items dialog box closes, and the Select Items for Backup page (Figure 11) becomes active again. At this point, the list of items for backup now includes the C:\Windows\assembly folder. Click the Next button to continue.

  9. You are prompted to select one of the local drives or a remote shared folder as destination for the backup, as shown in Figure 13. Select the Remote Shared Folder option, and click the Next button to continue.

    Figure 13. Specifying the backup destination type.
  10. The Specify Remote Folder dialog box appears. It is here that a network share is specified as a destination for the backup. In addition to selecting a remote folder, you must specify one of two Access control options. The Inherit option is selected by default, and it leaves the permissions of the remote share and created subfolders intact during the backup. If the Do Not Inherit option is selected, Windows Server Backup attempts to restrict access to the WindowsImageBackup subfolder that is created within the specified location to a single user account. For the purposes of this exercise, the default Inherit option is selected, along with the remote share (as shown in Figure 14). Click the Next button to continue.

    Figure 14. Specifying the remote share for backup.
  11. If the remote share already contains a backup for the current server, either scheduled or one-time, a warning dialog box appears to inform you that the backup operation that is about to be performed will overwrite the existing backup. Click the OK button to continue.

  12. The Confirmation page of the Backup Once Wizard appears, as shown in Figure 15. Validate the selection you have made, and click the Backup button to begin the backup process.

    Figure 15. Confirmation of backup selections.
  13. A Backup Progress dialog box similar to the one shown in Figure 10 appears. As the backup operation runs, the progress being made is reflected on the form. You can close the dialog box at any time during the actual backup operation, or you can wait until the backup has completed in its entirety before closing it. If the dialog box is closed prior to the completion of the backup operation, the backup continues in the background until it completes.

IIS Configuration

Creating a backup of the IIS7 configuration files is a relatively straightforward affair provided the Path environment variable has been updated to include the %WINDIR%\System32\inetsrv path.

  1. Open a PowerShell window by opening the Start menu and navigating to All Programs, Accessories, Windows PowerShell, Windows PowerShell.

  2. Type appcmd.exe add backup “<name>”, where <name> is replaced by the name you want to give the backup file set. After you have entered the full command, press the Enter key to execute the backup.

  3. When the backup is complete, you are presented with a status message similar to the one shown in Figure 16.

    Figure 16. Successful execution of an IIS configuration backup.
  4. Close the PowerShell window by typing exit and pressing the Enter key.

The backup that you have created can be left in place or moved to an alternate location as needed. By default, the backup is in a directory within the %WINDIR%\System32\inetsrv\backup folder that matches the name you specified in step 2. Figure 17 demonstrates this for the example shown earlier.

Figure 17. IIS7 configuration backup folder and contents.

Note

Microsoft’s TechNet documentation for SharePoint 2010 recommends against using “metabase backup” to protect IIS settings. Instead, Microsoft recommends manual documentation of all IIS configuration settings or the use of a tool (such as Microsoft System Center Configuration Manager) to automate the process. Because IIS7’s configuration backup files are XML, they are still largely human-readable—meaning that even if you elect not to use them for direct restore purposes, you can still examine them to extract a significant quantity of configuration information. At the end of the day, simply make sure you have a plan in place for how you intend to use your backup files, and test that plan regularly.


SSL Certificates

SSL certificates are commonly backed up in visual fashion using either the Certificates MMC snap-in or the IIS Manager snap-in. The example that follows demonstrates the latter approach, although both lead to the same endpoint.

  1. Start the Internet Services Manager by opening the Start menu and navigating to Administrative Tools, Internet Information Services (IIS) Manager.

  2. When the IIS Manager starts, locate the Start Page root node in the Connections Tree-View control on the left side of the snap-in. Select the node representing the current server that appears just below the Start Page node. In the example shown in Figure 18, the current server is SPDEV.

    Figure 18. The IIS Manager snap-in.
  3. When the current server node is selected, the central task pane in the snap-in is populated with various ASP.NET, IIS, and Management Features. Locate the Server Certificates Feature under those listed for IIS, and double-click it.

  4. The central task pane shifts to display Server Certificates, as shown in Figure 19. Each line in the central task pane represents an SSL certificate that is installed and available for use by IIS7. Select the one that you want to back up by clicking on it, and then click the Export link that appears under Actions on the right side of the snap-in.

    Figure 19. Server Certificates.
  5. The Export Certificate dialog box appears, as shown in Figure 20, and you are prompted to select a file name and a password for the exported certificate. Specify these values, and then click the OK button to execute the export.

    Figure 20. Specifying the certificate export parameters.

    Note

    You are prompted for a password, because the certificate you select is exported with its private key data. Any server possessing the private key for a certificate may act and respond as the server named by the certificate, so naturally it is important that any certificate export that contains private key data is protected.


  6. The export executes and completes without confirmation. To verify that the export succeeds, browse to the location you selected for your export, and verify that the appropriate certificate export file is present, as shown in Figure 21.

    Figure 21. Verifying the certificate export.
Windows Registry

You accomplish exports of the Windows Registry using the Registry Editor tool. This example exports the HKEY_LOCAL_MACHINE branch of the Registry to the local file system.

  1. Open the RegEdit.exe tool by clicking Start and selecting Run. When the Run dialog opens, type regedit.exe and click the OK button.

  2. The Registry Editor tool appears, as shown in Figure 22. Locate the HKEY_LOCAL_MACHINE node under the Computer root node in the left TreeView control, and select it by clicking on it.

    Figure 22. The Registry Editor tool.
  3. Click on the File menu at the top of the Registry Editor window and select the Export option. A dialog box pops up, as shown in Figure 23.

    Figure 23. Specifying export information for the selected Registry branch.
  4. Specify path and file name information for the export file, and click the Save button. The Registry Editor carries out the requested export without confirmation or an indication of completion. To verify that the export was successful, browse to the specified destination, as demonstrated in Figure 24.

    Figure 24. Successful Registry export.
Top Search -----------------
- Windows Server 2008 R2 : Work with RAID Volumes - Understand RAID Levels & Implement RAID
- Windows Server 2008 R2 Administration : Managing Printers with the Print Management Console
- Configuring Email Settings in Windows Small Business Server 2011
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Implement Permissions
- Monitoring Exchange Server 2010 : Monitoring Mail Flow
- Windows Server 2008 R2 :Task Scheduler
- Windows Server 2008 R2 : File Server Resource Manager
- Windows Server 2008 R2 : Installing DFS
- Exchange Server 2010 : Managing Anti-Spam and Antivirus Countermeasures
- Windows Server 2008 R2 : Configuring Folder Security, Access, and Replication - Share Folders
Other -----------------
- Exchange Server 2010 : Mailbox Configuration (part 5) - Import, Export and Archive Mailboxes
- Exchange Server 2010 : Mailbox Configuration (part 4) - Moving Mailboxes & Disabling, Removing, and Reconnecting Mailboxes
- Exchange Server 2010 : Mailbox Configuration (part 3) - Configuring Mailbox Properties
- Exchange Server 2010 : Mailbox Configuration (part 2) - Linked Mailboxes
- Exchange Server 2010 : Mailbox Configuration (part 1) - Creating Mailboxes
- Windows Server 2003 : Implementing Secure Network Administration Procedures (part 2)
- Windows Server 2003 : Implementing Secure Network Administration Procedures (part 1) - Introducing Network Security Protocols
- SharePoint 2010 PerformancePoint Services : Analysis Services Data Source
- SharePoint 2010 PerformancePoint Services : Overview of Data Sources
- SharePoint 2010 PerformancePoint Services : Content Migration with Dashboard Designer
 
 
Most view of day
- Maintaining Dynamics GP : Improving stability by Managing Dictionaries
- Programming Drivers for the User Mode Driver Framework - Driver Dynamic-Link Library and Exports
- Managing Windows 7 : Maintaining Your Hard Disk
- Integrating BizTalk Server 2010 and Microsoft Dynamics CRM : Communicating from BizTalk Server to Dynamics CRM (part 3) - Building the BizTalk components
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 2) - Displaying Data Using BDC in Microsoft Office SharePoint Server
- System Center Configuration Manager 2007 : Available Reports and Use Cases (part 1) - Reporting on Inventory and Discovery Data
- Developing with SharePoint 2010 (part 3) - Server Object Model
Top 10
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 7) - ISATAP
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 6) - Configuring a DHCPv6 server, IPv6 transition technologies
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 5) - Stateless address autoconfiguration,Stateful address autoconfiguration
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 4) - IPv6 address assignment - Manual address assignment
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 3) - IPv6 address representation
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 2) - Default IPv6 functionality
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 1) - IPv6 concepts and terminology
- Multi-Tenancy in SharePoint 2013 (part 2) - Multi-Tenant Use Cases, Partitioning in the Enterprise
- Multi-Tenancy in SharePoint 2013 (part 1) - Managing Service Application Groups, Creating a Site Subscription
- Sharepoint 2013 : Service Application Administration (part 4) - Setting Up the Farm Trust, Publishing a Service Application
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
Cars Review