|
Written by Grant
|
|
Tuesday, 30 September 2008 |
|
The other day I had this problem at work ... my WSUS 3 server was running out of disk space. I was due to go on holidays the next day and did not want to worry about my network not being updated while I was gone. So I decided to fix the problem. I began researching moving the Windows Internal Database (which is used to drive a WSUS server when SQL Server is not installed) on a Windows 2003 SP2 server to a separate drive/partition/volume. I googled for hours on this subject and could not find tthe solution I was after; and here's me thinking that someone might have done this in the past. But it seems that the only solutions out there are ones that are dated in the late ninties (exageration). So I thought that I would post my findings and hopefully help someone out there how is having the same issue. So here it goes ... - download and install the SQL Native Client and SQLCMD pack from here
- Stop "Update Servcies" and "World Wide Web Publishing Services"
- open a command prompt
- change directory to C:\Program Files\Microsoft SQL Server\90\Tools\binn (default location for the sqlcmd install)
- type - sqlcmd -S \\.\pipe\mssql$microsoft##ssee\sql\query -E
- type - EXEC sp_detach_db @dbname = 'SUSDB'
- type - go
- The copy the database to your new location eg e:\WSUSDatabase; which is used in the below example
- type - EXEC sp_attach_db @dbname = 'SUSDB', @filename1 = 'E:\WSUSDatabase\SUSDB.mdf', @filename2 = 'E:\WSUSDatabase\SUSDB_log.ldf'
- type - go
- Start "Update Servcies" and "World Wide Web Publishing Services"
- Done.
Hope this helps someone out there on the Intraweb ...
Add as favourites (192) | Quote this article on your site | Views: 701
| Write Comment | - Please keep the topic of messages relevant to the subject of the article.
- Personal verbal attacks will be deleted.
- Please don't use comments to plug your web site. Such material will be removed.
- Just ensure to *Refresh* your browser for a new security code to be displayed prior to clicking on the 'Send' button.
- Keep in mind that the above process only applies if you simply entered the wrong security code.
|
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |