Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Transfering WSUS to another partition/disk

111 views
Skip to first unread message

Lawrence Garvin

unread,
Oct 11, 2005, 5:35:13 PM10/11/05
to
To move the /content/ to another physical location, use the command:
'wsusutil movecontent <new root folder> <logfile>

e.g. if your new 18GB HD is drive D:, then you'd issue the command:
'wsusutil movecontent D:\WSUS <logfile>
where <logfile> is the name of a logfile of your choice.

To move the database, however, requires a bit more trickery. This is the
procedure to move the database:

(1) Install SQL Server Enterprise Manager (or use osql).
(2) Stop Update Services service.
(3) Execute the sp_detach_db stored procedure, and detach the SUSDB
database.
(4) Move the susdb.mdf and susdb_log.ldf files to the new location (e.g.
D:\WSUS\MSSQL$WSUS\Data)
(5) Execute the sp_attach_db stored procedure, and attach the SUSDB from the
new location.
(6) Start Update Services service.


"Roger Waters" <Roger...@discussions.microsoft.com> wrote in message
news:093382E2-74E7-42C2...@microsoft.com...
> hi,
>
> how can i transfer WSUS installation including downloaded service packs,
> security updates and critical updates from one location eg. C:\WSUS to new
> installed 18gb hdd which will be used only for WSUS storage.
>
> Do i have to uninstall curent WSUS, install it again and download again
> all
> updates i have (5gb) or i can transfer existing ones to new location.
>
> Thanks for the input.
>
> Roger Waters


Roger Waters

unread,
Oct 12, 2005, 4:51:15 AM10/12/05
to
Thank you for prompt reply Lawrence.

I want to move only content folder (5gb of updates) and to leave database as
it is.
Can i leave database as is and to move only content folder or i have to move
database+contents?

Roger

Roger Waters

unread,
Oct 12, 2005, 5:26:04 AM10/12/05
to
I transfered WSUS contents using

wsusutil.exe movecontent E:\WSUS logfile.txt and now i have all content on
the E: drive.

Following is logfile created during movecontent command:
2005-10-12T08:53:57 Successfully stopped WsusService.
2005-10-12T08:53:57 Beginning content file location change to E:\WSUS
2005-10-12T09:09:55 Successfully copied content files.
2005-10-12T09:09:58 Successfully changed WUS configuration.
2005-10-12T09:10:06 Successfully changed IIS virtual directory path.
2005-10-12T09:10:06 Successfully changed registry value for content store
directory.
2005-10-12T09:10:06 Successfully changed content file location.
2005-10-12T09:10:09 Successfully started WsusService.
2005-10-12T09:10:09 Content integrity check and repair...
2005-10-12T09:10:10 Initiated content integrity check and repair.

I will remove manualy C:\WSUS because it is still there.

Roger

Lawrence Garvin [MVP]

unread,
Oct 12, 2005, 2:39:18 PM10/12/05
to

Did the E:\WSUS folder exist prior to running the command.

The utility will not create the destination folder, and I owe you an apology
for not specifying that requirement. I found out the hard way myself, and I
should have remembered.

Best fix from here is to create the E:\WSUS folder, and just reissue the
command. It will then move the content from it's current location to the
desired destination.

Alternatively, you can 'reverse' the command if the original folder is still
in place by using the -skipcopy parameter.

Since the command /copies/ the files, it will be faster to copy from C: to
E:, rather than from E:\ to E:\WSUS, so I would recommend using
the -skipcopy version to 'restore' the content directory to C:\WSUS,
manually purge the folders from E:\, and then reissue the command after
creating E:\WSUS.


"Roger Waters" <Roger...@discussions.microsoft.com> wrote in message

news:C7BDCFFC-959D-462B...@microsoft.com...

Roger Waters

unread,
Oct 13, 2005, 3:01:03 AM10/13/05
to
Yes, i created folder E:\WSUS prior issuing wsusutil.exe movecontent E:\WSUS
logfile.txt. Everything is transfered to E:\WSUS. No need for any fixes :)
I removed C:\WSUS and now have 5 gigs more space on C:.
Drive E: is beeing filled with updates. There is 18gb (minus 5gb) of space
and this disk is dedicated only for WSUS content.

Everything is working as before but updates are residing on another disk.
Thank you very much for your input Lavrence, it was very helpfull.

Roger

0 new messages