Link to home
Start Free TrialLog in
Avatar of mainrotor
mainrotor

asked on

I need help backing up and truncating .ldf file in SQL Server 2008 R2

Hi all,
I need help backing up and truncating .ldf file in SQL Server 2008 R2?  
How can I do this?  Thanks in advance.

mrotor
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Once you back up the log, SQL will truncate it as soon as it can, after the next checkpoint, if it can.

Do you mean you need to backup and then shrink the log file size?
What recovery mode does your database work with?
ASKER CERTIFIED SOLUTION
Avatar of Lee
Lee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mainrotor, do you still need help with this question?