Windows Sharepoint Services V3 - Log files

We can't work out why the log files are larger than the DB - And we are running out of space

14/02/2008 22:11 11,918,311,424 WSS_Content.mdf
10/02/2008 11:01 29,013,639,168 WSS_Content_log.LDF
 
equally good point. :( not got my thinking hat on.

are we wanting to troubleshoot the reason why they'r so large, or just clear out the old stuff to keep them to a reasonable size ?
 
stsadm is only of the only tools that does backup Windows Sharepoint services and this doesnt do it so thats why I'm looking for a fix.
 
But the content db and associated logs are managed by an instance of SQL Server (perhaps SSEE) your server backup solution should be truncating the log files - or you can do it manually via dbcc or a truncate only backup.
 
this is what i found while googling, that the sharepoint logs get very big, and its normal practice to get a backup solution that truncates them.

need to find an example of a sharepoint backup solution that does this. No point in keeping 28gbs worth of log file.
 
Right sorted - Installed SQL Express management studio - Connected to the DB with the following "\\.\pipe\mssql$microsoft##ssee\sql\query"


Once in there you can either do a backup within the studio or using the "stsadm -o backup -url http://vrssvrapp02 -filename e:\splive.dat -overwrite"


Right click on WSS_Content and pick shrink. (Not sure if you have to put the DB into "Simple" mode before - I did and tried the SQL backup; that didn't work so did the shrink and that worked so not 100% you need it in simple mode.)
 
Back
Top Bottom