Monday, October 15, 2012

SBS2011 Moving Data Paths and Logs

 

Open the SBS 2011 Server Console

Select Backup and Server Storage

Select Server Storage

Select the data you want to move using the tasks listed on the right as shown below:

image


WSUS the rest of the story….

After Moving WSUS using the menu above you will notice the C:\WSUS\SUSDB folder does not move.

You have to move this via SQL Management Studio

Login to server as an administrator.

Click Start/Programs/Microsoft SQL Server 2005

Right Click on /SQL Server Management Studio Express and select

Run As Administrator

Fill in the following information and then click Connect

  • Server type: Database Engine
  • Servername: \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
  • Authentication: Windows Authentication

Note: If you didn’t “run as administrator” above you may see:

 "login failed" (Error 18456) error messages in SQL Server 2005

Expand Databases and right-click on SUSDB and select Tasks > Detach…

Select theDrop Connectioncheckbox and click OK.

Move C:\WSUS\SUSDB folder to the same location you moved your WSUS directory to above. for example:

E:\WSUS\SUSDB\UpdateServicesDbFiles

To reattach the database, right-click on Database and select Attach

On the Attach Databases page select the Add button.

Browse to the new location of the SUSDB for example:

image

click OK twice to complete task


Moving IIS Logs: 

Open IIS7

Open each site and double click on the logging Icon

clip_image002

Create a new folder on the data drive or a drive with a lot more space.  Create a Logs\logfile folder

Change the path of the logfiles

clip_image004

Caution: The next step will take your web server offline for a minute or so

Once done right click and open a command prompt as administrator

type in and run “iisreset”    

It will restart IIS and update the paths and you can clean out the existing folders on drive C.

Credit: Michael Patrick

No comments:

Post a Comment