Sharepoint-Protokolldatei ist zu groß

972
pierre

Wir betreiben einen SBS 2008-Server mit WSS. Auf dem Laufwerk, das ich für WSS reserviert habe, ist der Platz fast leer, weil die ShareWebDb_log.ldf-Datei> 96 GB ist!

Die Dateigröße ist im Vergleich zur tatsächlichen Sharepoint-Site (15 GB) enorm.

Ich habe versucht, das zu tun, was ich online gelesen habe - den Wiederherstellungsmodus zu ändern, das Backup zu erstellen und abzuschneiden - aber ich kann nicht wirklich sehen, wie ich dies mit dem SQL Server Management Studio-Tool mache. Kann jemand Licht werfen?

ShareWebDb_log.ldf ist nicht im Datenbankknoten der Datenbanken aufgeführt, daher kann ich dies nicht tun.

1

1 Antwort auf die Frage

0
Phil

Until you perform a backup of the database log file, SQL Server will keep the log file around so that it could perform a point in time recovery if you asked for it.

Are you taking log backups?

The company I work for makes a backup product called SQL Backup Pro that provides a decent GUI for taking backups (amongst other things), it might be useful, even if you just use the trial version to get a log backup done.

Once you have taken a log backup, you can shrink the log file on disk from SSMS:

  • Right click on the database
  • Choose Tasks -> Shrink -> Files
  • Select the Log File type

It relates to SQL Server 2000, but this description of the process by Microsoft is quite good.