Step 3: Copying Metadata from the Database

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server Update Services

Export update metadata from the database on the exporting server and import it into the database on the importing server using the WSUSUtil.exe utility program. For more information about this utility, see "Managing WSUS 3.0 from the Command Line", in the Windows Server Update Services 3.0 Operations Guide at http://go.microsoft.com/fwlink/?LinkId=81072.

noteNote
You must be a member of the local Administrators group on the WSUS server to export or import metadata; both operations can be run only on a WSUS server.

You should copy updates to a directory on the importing server before you import metadata. If WSUS finds metadata for an update that is not in the file system, the WSUS console shows that the update failed to be downloaded. This type of problem can be fixed by copying the update to a directory on the importing server and then deploying the update again.

Although you can use incremental backups to move update files to the importing server, you cannot move update metadata incrementally. WSUSutil.exe exports all the metadata in the WSUS database during the export operation.

ImportantImportant
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.

noteNote
During the import or export process, the Update Service, the Windows NT service that underpins the WSUS application, is shut down.

  1. At the command prompt on the exporting server, navigate to the folder that contains WSUSutil.exe (usually …\Program Files\Update Services\Tools).

  2. 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.

  3. Move the export package you just created to the importing server.

  1. At the command prompt on the importing server, navigate to the directory that contains WSUSutil.exe (usually …\Program Files\Update Services\Tools).

  2. Type the following:

    wsusutil.exe import packagename logfile

    For example:

    wsusutil.exe import export.cab import.log

    WSUSutil.exe imports the metadata from the exporting server and creates a log file of the operation.

noteNote
It can take 3–4 hours for the database to validate content that has just been imported.

Community Additions

ADD
Show: