How to Move WSUS from One Server to Another
Sometimes you may find that it’s necessary to move your WSUS server from one machine to another. If this is you then here are the steps to get this done:
1. Install WSUS on the new Server just as you had installed before.
For more information on installing WSUS please check the following link for more information: http://technet.microsoft.com/en-in/library/cc708445(en-us).aspx
2. Match the Advanced Options on the old WSUS Server & the new WSUS Server
Ensure that the advanced synchronization options for express installation files and languages on the old server match the settings on the new server by following the steps below:
- In the WSUS console of the old WSUS server, click the Options tab, and then click Advanced in the Update Files and Languages section.
- In the Advanced Synchronization Settings dialog box, check the status of the settings for Download express installation files and Languages options.
- In the WSUS console of the new server, click the Options tab, and then click Advanced in the Update Files and Languages section.
- In the Advanced Synchronization Settings dialog box, make sure the settings for Download express installation files and Languages options match the selections on the old server.
3. Copy Updates from File System of the old WSUS Server to the new WSUS server*
To back up updates from file system of old WSUS server to a file, follow these steps:
- On your old WSUS server, click Start, and then click Run.
- In the Run dialog box, type ntbackup. The Backup or Restore Wizard starts by default unless it is disabled. You can use this wizard or click the link to work in Advanced Mode and use the following steps.
- Click the Backup tab, and then specify the folder where updates are stored on the old WSUS server. By default, WSUS stores updates at WSUSInstallationDrive:\WSUS\WSUSContent\
- In Backup media or file name, type a path and file name for the backup (.bkf) file.
- Click Start Backup. The Backup Job Information dialog box appears.
- Click Advanced. Under Backup Type, click Incremental.
- From the Backup Job Information dialog box, click Start Backup to start the backup operation.
- Once completed, move the backup file you just created to the new WSUS server.
To restore updates from a file to the file system of the new server, follow these steps:
- On your new WSUS server, click Start, and then click Run.
- In the Run dialog box, type ntbackup. The Backup or Restore Wizard starts by default unless it is disabled. You can use this wizard or click the link to work in Advanced Mode and use the following steps.
- Click the Restore and Manage Media tab, and select the backup file you created on the old WSUS server. If the file does not appear, right-click File, and then click Catalog File to add the location of the file.
- In Restore files to, click Alternate location. This option preserves the folder structure of the updates; all folders and subfolders will appear in the folder you designate. You must maintain the directory structure for all folders under \WSUSContent.
- Under Alternate location, specify the folder where updates are stored on the new WSUS server. By default, WSUS stores updates at WSUSInstallationDrive:\WSUS\WSUSContent\ Updates must appear in the folder on the new WSUS server designated to hold updates; this is typically done during installation.
- Click Start Restore. When the Confirm Restore dialog box appears, click OK to start the restore operation.
4. Copy Metadata from the Database on the old WSUS Server to the new WSUS Server **
Note: The WSUS Setup program copies WSUSutil.exe to the file system of the WSUS server during installation. You must be a member of the local Administrators group on the WSUS server to export or import metadata; both operations can only be run from the WSUS server itself and during the import or export process, the Update Service is shut down.
To export metadata from the database of the old Microsoft Windows Server Update Services Server, follow these steps:
- At a command prompt on the old Microsoft Windows Server Update Services Server, navigate to the folder that contains WSUSutil.exe. (usually located at c:\Program Files\ Update Services\tools\.
- Type the following: *wsusutil.exe export packagename logfile ...(*For example: wsusutil.exe export export.cab export.log) The package (.cab file) and log file name must be unique. WSUSutil.exe creates these two files as it exports metadata from the WSUS database.
- Move the export package you just created to the new Microsoft Windows Server Update Services Server.
To import metadata into the database of the new Microsoft Windows Server Update Services Server, follow these steps:.
Note: It can take from 3 to 4 hours for the database to validate content that has just been imported. Please be patient.
- At a command prompt on the new WSUS server, navigate to the directory that contains WSUSutil.exe. Type the following: *wsusutil.exe import packagename logfile (*For example: wsusutil.exe import export.cab import.log).
- WSUSutil.exe imports the metadata from the old WSUS server and creates a log file of the operation.
5. Point your Clients to the new WSUS Server
Next, we’ll need to change the Group policy and make it point to top the new server. To redirect Automatic Updates to a WSUS server, follow these steps:
- In Group Policy Object Editor, expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Windows Update.
- In the details pane, click Specify Intranet Microsoft update service location.
- Set the intranet update service for detecting updates box and in the Set the intranet statistics server box. With the new server details and port. For example, type http(s)://newservername :Port in both boxes.
Note: For more information check http://technet.microsoft.com/en-us/library/cc720539.aspx
That’s it!
*Important:
The initial settings for access control lists differ between Windows 2000 Server and Windows Server 2003. If you are copying content from Windows 2000 Server to Windows Server 2003, you have to manually add the Network Service group to the access control list for the folder where updates are stored. Give the Network Service group Full Control.
**Important:
Never import exported data from a source that you do not trust. Importing content from a source you do not trust might compromise the security of your WSUS server.
*Note: This information was originally contributed by **Sudheesh Narayanaswamy, Support Engineer, *on the WSUS Support Team blog:
http://blogs.technet.com/sus/archive/2009/07/02/how-to-move-wsus-from-one-server-to-another.aspx