Skip to content
IT Crumbs – Tech Leftovers

Got a large ShareWebDB_log.ldf file?

October 4, 2013

http://msmvps.com/blogs/bradley/archive/2013/10/01/got-a-large-sharewebdb-log-ldf-file.aspx

My ShareWebDB_log file was huge on my SBS 2008 server.

So I fired up the SQL 2005 management express (run as admin)

Choose the ShareWebDB

Clicked on new query and did this:

USE ShareWebDb
GO
DBCC SHRINKFILE(ShareWebDb_log, 1)
BACKUP LOG ShareWebDb WITH TRUNCATE_ONLY
DBCC SHRINKFILE(ShareWebDb_log, 1)
GO

Now that file is much smaller

Uncategorized

Post navigation

How To Enable Remote Desktop Via Domain Group Policy Windows Server 2012 / 2008 R2 / 2008
Moving Windows 7 to New Hardware
IT Crumbs – Tech Leftovers Back to top ↑