Truncate Log on a SQL Server 2012 Database

I have a SQL Server 2012 DB in Full recovery mode that has never had a TLOG backup.   the log is huge 200+GB.

I tried doing a transaction log backup but there is not enough space on the Disk.    

How can I reclaim this log space in SQL Server 2012?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Russ SuterCommented:
One way to do it would be to change the backup method to "Simple" then shrink the file.

 DBCC SHRINKFILE (mydatabase_Log, 1)

Open in new window

The only thing is that might also require disk space.

You could create a new database, copy the schema, then import the data, then delete the old database. That'll be a pain but it would work with minimal disk space requirements.
Scott PletcherSenior DBACommented:
Easiest is to change recovery to SIMPLE -- so you don't have to take a log backup -- then do a CHECKPOINT(s).  You go back to FULL later if you want to.

USE <db_name>
DBCC SHRINKFILE ( 2, 4096 ) --leave 4GB in the log file

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
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
Storage Software

From novice to tech pro — start learning today.