{"id":518,"date":"2015-03-05T20:55:03","date_gmt":"2015-03-05T19:55:03","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=518"},"modified":"2015-03-05T20:55:03","modified_gmt":"2015-03-05T19:55:03","slug":"sbs-2008-sharepoint-datenbank-protokolldatei-wird-gross","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=518","title":{"rendered":"SBS 2008 &#8211; SharePoint-Datenbank-Protokolldatei wird gro\u00df"},"content":{"rendered":"<p>Die Protokolldatei von Windows SharePoint Services 3.0 (WSS) kann auf einer Standardinstallation von Windows Small Business Server 2008 (Windows SBS) auf eine gro\u00dfe Gr\u00f6\u00dfe anwachsen.<\/p>\n<p>Dies wird, wenn die Datenbank so konfiguriert ist, dass die Standardeinstellung der vollst\u00e4ndigen Wiederherstellungsmodus verwenden und in der Datenbank zahlreiche Transaktionen protokolliert wurden haben.<\/p>\n<p><a title=\"Microsoft Fix it 50682\" href=\"http:\/\/go.microsoft.com\/?linkid=9774317\" target=\"_blank\">Microsoft Fix it 50682<\/a><\/p>\n<p><span style=\"text-decoration: underline;\">Manuelle L\u00f6sung:<\/span><\/p>\n<p>1. \u00d6ffnen Sie Notepad und kopieren und f\u00fcgen Sie den folgenden Text in den Editor. Speichern Sie die Datei als c:\\logshrink.sql<\/p>\n<p><span lang=\"de\">2. Kopieren Sie und f\u00fcgen Sie den folgenden Text in Editor. <\/span><span lang=\"de\">Speichern Sie die Datei als c:\\logshrink.sql <\/span><br \/>\nDECLARE @ ConfigDBLog vom Datentyp varchar(255).<br \/>\nDECLARE @ ConfigDBCmd vom Datentyp varchar(255).<br \/>\nW\u00e4hlen Sie @ ConfigDB = Name von sys.databases, wobei Name like&#8216; SharePoint_Config_&#8216;;<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; Datenbank sichern [&#8218; + RTRIM(@ConfigDB) + &#8218;] auf der Festplatte =&#8220; C:\\windows\\temp\\before.bkf&#8220; &#8218;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; verwenden [&#8218; + RTRIM(@COnfigDB) + &#8218;]&#8216;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; BACKUP LOG [&#8218; + RTRIM(@ConfigDB) + &#8218;] WITH TRUNCATE_ONLY&#8216;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; verwenden [&#8218; + RTRIM(@COnfigDB) + &#8218;]&#8216;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\nW\u00e4hlen Sie @ ConfigDBLog = Name von der Katalogsicht sys. database_files, wobei Name wie &#8218;Sharepoint_config % _log&#8216;;<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; verwenden [&#8218; + RTRIM(@ConfigDB) + &#8218;] DBCC SHRINKFILE([&#8218; + RTRIM(@ConfigDB) + &#8218;_log],1)&#8216;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\nLegen Sie @ ConfigDBCmd = &#8218; Datenbank sichern [&#8218; + RTRIM(@ConfigDB) + &#8218;] auf der Festplatte =&#8220; C:\\windows\\temp\\after.bkf&#8220; &#8218;;<br \/>\nExecute(@ConfigDBCmd);<br \/>\ngo<\/p>\n<p>2. \u00d6ffnen Sie eine Eingabeaufforderung mit erh\u00f6hten Rechten, und f\u00fchren Sie den folgenden Befehl aus:<\/p>\n<div>Sqlcmd-s \\\\.\\pipe\\mssql$microsoft##ssee\\sql\\query-e -i c:\\logshrink.sql<\/div>\n<pre><\/pre>\n<pre><\/pre>\n<p>Dieses Skript erstellt zwei Sicherungsdateien (before.bkf und after.bkf) in C:\\windows\\temp.<\/p>\n<p>&nbsp;<\/p>\n<p>Quelle:\u00a0<a title=\"KB2000544\" href=\"http:\/\/support2.microsoft.com\/kb\/2000544\/de\" target=\"_blank\">http:\/\/support2.microsoft.com\/kb\/2000544\/de<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die Protokolldatei von Windows SharePoint Services 3.0 (WSS) kann auf einer Standardinstallation von Windows Small Business Server 2008 (Windows SBS) auf eine gro\u00dfe Gr\u00f6\u00dfe anwachsen. Dies wird, wenn die Datenbank so konfiguriert ist, dass die Standardeinstellung der vollst\u00e4ndigen Wiederherstellungsmodus verwenden und in der Datenbank zahlreiche Transaktionen protokolliert wurden haben. Microsoft Fix it 50682 Manuelle L\u00f6sung: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-518","post","type-post","status-publish","format-standard","hentry","category-windows-server-2008"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=518"}],"version-history":[{"count":1,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}