Are the log files being backed up or are you just backing the database files up? If you're just backing the database up and the database is in full recovery mode rather than simple, this will happen.
Cheers,
Lee
Main Topics
Browse All TopicsServer Configuration:
Server 2003 Enterprise Edition R2 Sp2
SQL Server 2005 SP4
CRM 4.0
Problem:
The MSCRM database, db_name_MSCRM.mdf, is slowly growing with size around 17 GB.
The MSCRM log file, db_name_MSCRM_Log.ldf is growing rapidly and presently stands around 21 GB
how can i clean this log file?
Cheers
Paul
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If the database is in full receovery mode then the log files will continue to grow. Either change the receovery mode to Simple and do a log back up and then use dbcc shrinkfile to shrink the logs or change your backup maintenance plan to back the logs up as well. Once you've done a back up then you can try shrinking them.
See here for DBCC shrinkfile usage: http://support.microsoft.c
See here for info on backing up transaction logs: http://msdn.microsoft.com/
See here for info on recovery modes: http://msdn.microsoft.com/
Lee
hi...
hv u tried this link?
http://piyushmittal.wordpr
I believe rollup 4 may fix your problem then. There is a bug in CRM 4.0 with rollup versions 3 and below.
http://support.microsoft.c
Some tables grow massive. There are some scripts on the above page which may help you.
Lee
There is a VERY handy sp in this doc:
http://media.techtarget.co
It gives you a table breakdown in the database showing you the physical size each table takes up. It is handy for identifying runaway tables.
Lee
Business Accounts
Answer for Membership
by: Aftab_KhateebPosted on 2009-08-26 at 14:04:40ID: 25192240
Looks like you have not set the maximum size for your transaction logs
ess.com/20 07/12/17/t runcate-pu rge- sql-20 05-databas e-log-file s/
I hope you are taking regular backups of your transaction log
set your db to Auto_shrink mode as this will keep the log file generation under control
Right click the database and select properties, then navigate to the 'transaction log' tab. There is also a way to set up a database maintenance plan which remove old transaction logs
Also have a look at this link
http://piyushmittal.wordpr
Let me know how u go