SBS 2008 SharePoint_Config_log.LDF large - how to shrink?

Hey Guys

I am running out of space on my C:\ drive on my SBS 2008 server.
I ran a hard drive search and found that a large chunk of my usage is the "SharePoint_Config_log.LDF" file. It's currently at about 15GB.

In  the “SQL Server Management Studio express” I backed up the database and ran a shrink on it. But that made no difference.

I was thinking of detaching the database and deleting the "SharePoint_Config_log.LDF".
Then setting the maximum growth MB to 1024.

Do you guys think that is a safe thing to do?
I've never performed that task on an SQL database before.
What do you guys think?

Kind Regards
Aaron
moncompAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shreedhar EtteCommented:
Please refer this article to fix issue:
http://support.microsoft.com/kb/2000544

However do backup you SharePoint database before making changes.
1
lruiz52Commented:
1
Alan HardistyCo-OwnerCommented:
If you can't get anywhere with the above links, please have a read of my blog which covers this exact situation:

http://alanhardisty.wordpress.com/2012/07/12/sbs-2008-2011-disk-space-eaten-up-by-sharepoint-sql-log-files-how-to-reduce-the-log-file-size/

Alan
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
moncompAuthor Commented:
Hey Alan

That did the trick :) Now have plenty of space available on the C:\ drive.

Much appreciation for the other options too. They all pretty much lead to the same solution.
1
Erik TremblayCommented:
Here's what I use..
Run this a few times to shrink ldf. Just change the WSS_config to your database

BACKUP LOG [WSS_Config] TO  DISK = N'E:\Backup\Backup.bak' WITH NOFORMAT, NOINIT,  NAME = N'$Database-Transaction Log Backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10
    DBCC SHRINKFILE (WSS_Config , 0, TRUNCATEONLY)
    DBCC SHRINKFILE (WSS_Config , 0, TRUNCATEONLY)
    DBCC SHRINKDATABASE(WSS_Config)
    DBCC SHRINKFILE (WSS_Config , 42)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.