<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>http://www.ecker-software.de/index.php?action=history&amp;feed=atom&amp;title=MSSQL_2005_Restore_System_Databases</id>
		<title>MSSQL 2005 Restore System Databases - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="http://www.ecker-software.de/index.php?action=history&amp;feed=atom&amp;title=MSSQL_2005_Restore_System_Databases"/>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;action=history"/>
		<updated>2026-10-25T11:00:13Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Software Entwicklung Projekte</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=149&amp;oldid=prev</id>
		<title>David am 21. Juli 2015 um 11:50 Uhr</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=149&amp;oldid=prev"/>
				<updated>2015-07-21T11:50:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;de&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 21. Juli 2015, 11:50 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l120&quot; &gt;Zeile 120:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 120:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[MSSQL Backup Restore Service Master Key (SMK)|Backup Restore Service Master Key]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[MSSQL Backup Restore Service Master Key (SMK)|Backup Restore Service Master Key]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Startup Parameter ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# [[MSSQL 2005 Startup Parameter -m|-m]] : Single-User Mode&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# [[MSSQL 2005 Startup Parameter -f|-f]] : Starten mit minimale Konfiguration&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# [[MSSQL 2005 Startup Parameter -T3608|-T3608]] : Verhindert die Wiederherstellung beim Starten von irgendeiner anderen Datenbank als die master DB.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David</name></author>	</entry>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=148&amp;oldid=prev</id>
		<title>David: /* Verschieben der tempdb */</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=148&amp;oldid=prev"/>
				<updated>2015-07-21T11:45:18Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Verschieben der tempdb&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;de&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 21. Juli 2015, 11:45 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l114&quot; &gt;Zeile 114:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 114:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GO&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;GO&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*/&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Weitere Probleme ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Weitere Probleme ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David</name></author>	</entry>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=147&amp;oldid=prev</id>
		<title>David: /* Welche tempdb Files müssen alle verschoben werden? */</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=147&amp;oldid=prev"/>
				<updated>2015-07-21T11:45:08Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Welche tempdb Files müssen alle verschoben werden?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;de&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 21. Juli 2015, 11:45 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l94&quot; &gt;Zeile 94:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 94:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;select * from sys.master_files where name like &amp;#039;temp%&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;select * from sys.master_files where name like &amp;#039;temp%&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Geht aber auch über die DB_ID in der master_files&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;select * from sys.master_files where database_id =&amp;#160; DB_ID(&amp;#039;tempdb&amp;#039;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- oder, da normalerweise tempdb DB_ID == 2 ist &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;select * from sys.master_files where database_id =&amp;#160; 2;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David</name></author>	</entry>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=146&amp;oldid=prev</id>
		<title>David: /* Restore */</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=146&amp;oldid=prev"/>
				<updated>2015-07-21T11:42:35Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Restore&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;de&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 21. Juli 2015, 11:42 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot; &gt;Zeile 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- Und als Beispiel ein Fullbackup aus zwei Disks:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- Und als Beispiel ein Fullbackup aus zwei Disks:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RESTORE DATABASE model FROM DISK = &amp;#039;e:\BackupDir\model_1_Full.bak&amp;#039; , DISK = &amp;#039;e:\&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tmp&lt;/del&gt;\model_2_Full.bak&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RESTORE DATABASE model FROM DISK = &amp;#039;e:\BackupDir\model_1_Full.bak&amp;#039; , DISK = &amp;#039;e:\&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BackupDir&lt;/ins&gt;\model_2_Full.bak&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WITH REPLACE;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;WITH REPLACE;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David</name></author>	</entry>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=145&amp;oldid=prev</id>
		<title>David: /* Welche tempdb Files müssen alle verschoben werden? */</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=145&amp;oldid=prev"/>
				<updated>2015-07-21T10:43:39Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Welche tempdb Files müssen alle verschoben werden?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;de&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 21. Juli 2015, 10:43 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot; &gt;Zeile 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Welche tempdb Files müssen alle verschoben werden? ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Welche tempdb Files müssen alle verschoben werden? ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Da ich meine tempdb files immer mit temp anfange zu &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;benenne&lt;/del&gt;, bekomme ich mit der folgenden Query raus, welche tempdb Files alle verschoben werden müssen:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Da ich meine tempdb files immer mit temp anfange zu &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;benennen&lt;/ins&gt;, bekomme ich mit der folgenden Query raus, welche tempdb Files alle verschoben werden müssen:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>David</name></author>	</entry>

	<entry>
		<id>http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=144&amp;oldid=prev</id>
		<title>David: Die Seite wurde neu angelegt: „=== Vorraussetzungen ===  Für eine Wiederherstellung der master DB muss die Version der SQL Server Instanz inkl. Service Pack(SP) und Kumulativem Update (CU)…“</title>
		<link rel="alternate" type="text/html" href="http://www.ecker-software.de/index.php?title=MSSQL_2005_Restore_System_Databases&amp;diff=144&amp;oldid=prev"/>
				<updated>2015-07-21T10:42:57Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=== Vorraussetzungen ===  Für eine Wiederherstellung der master DB muss die Version der SQL Server Instanz inkl. Service Pack(SP) und Kumulativem Update (CU)…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Vorraussetzungen ===&lt;br /&gt;
&lt;br /&gt;
Für eine Wiederherstellung der master DB muss die Version der SQL Server Instanz inkl. Service Pack(SP) und Kumulativem Update (CU) genau gleich sein. Ansonsten bricht der Restore mit einem Fehler ab.&lt;br /&gt;
&lt;br /&gt;
== Wiederherstellen der master DB ==&lt;br /&gt;
&lt;br /&gt;
Unter dem SQL Configuration Tool bei den Start Parametern die Option &amp;#039;&amp;#039;&amp;#039;-m&amp;#039;&amp;#039;&amp;#039; hinzufügen und den Dienst neu starten. Damit wird der [[SQL Server]] im Single Modus gestartet, d.h. er akzeptiert ab jetzt nur noch genau eine Verbindung.&lt;br /&gt;
&lt;br /&gt;
Jetzt kann entweder mit dem Management Studio oder einem anderen Tool der Restore durchgeführt werden. Bei dem Management Studio beachtet aber bitte, dass jedes Query Fenster einen eigenen Connect hat, d.h. wenn einer Verbindung im Serverbereich bereits existiert, kann das Query Fenster keine Verbindung mehr aufmachen -&amp;gt; also bitte nur genau ein Query Fenster verwenden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Restore Master ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
RESTORE DATABASE master FROM DISK = &amp;#039;e:\IrgendEinBackupDir\master_1_Full.bak&amp;#039; WITH REPLACE;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damit wird die bestehende master DB überschrieben. Nach dem erfolgreichem Restore wird der SQL Server automatisch neu gestartet&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Achtung&amp;#039;&amp;#039;&amp;#039;: Danach müssen die Pfade für alle anderen DB&amp;#039;s nicht mehr passen. &lt;br /&gt;
&lt;br /&gt;
Soll die Master DB verschoben werden, kann sie, wenn die Instanz gestoppt ist, einfach an die neue Stelle kopiert werden. Die neuen Pfade müssen aber vor dem Start der Instanz im SQL Configuration Manager in den Start Parametern angepasst werden.&lt;br /&gt;
&lt;br /&gt;
== mssqlsystemresource ==&lt;br /&gt;
&lt;br /&gt;
Eine sehr wichtige Datenbank, die in keiner Sicherung aktiv mit auftaucht, da die Datenbank ein reine Read-Only interne Verbindung zum SQL Server hat und nie direkt angesprochen wird. Dort befinden sich alle Verwaltungsskripte/Views/...&lt;br /&gt;
&lt;br /&gt;
Diese Datenbank kann einfach kopiert werden. Wichtig ist hier nur wieder, dass die Versionsnummer des SQL Servers genau passen muss, also genau wie bei der master. Falls diese DB mal weg ist, kann sie von einem anderen Server einfach kopiert werden. Sie wird nur durch ein Upgrade der Instanz verändert. Die Instanz selber schreibt nie in diese Datenbank.&lt;br /&gt;
&lt;br /&gt;
=== Restore der mssqlsystemresource ===&lt;br /&gt;
&lt;br /&gt;
# Stoppen der SQL Server Instanz&lt;br /&gt;
# Kopiere die mssqlsystemresource an die Position, an der sie sich in Zukunft befinden soll.&lt;br /&gt;
&lt;br /&gt;
Falls das jetzt eine andere Stelle ist, als die, an der sich die Dateien jetzt gerade befinden:&lt;br /&gt;
&lt;br /&gt;
# Setzten der Start Parameter im SQL Server -f;-T3608&lt;br /&gt;
# Server mit den neuen Parametern starten.&lt;br /&gt;
# Eintrag in der master DB anpassen, wo die mssqlsystemresource zu finden ist.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
ALTER DATABASE mssqlsystemresource MODIFY FILE (NAME=data, FILENAME= &amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\mssqlsystemresource.mdf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE mssqlsystemresource MODIFY FILE (NAME=log, FILENAME=&amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\mssqlsystemresource.ldf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE mssqlsystemresource SET READ_ONLY;&lt;br /&gt;
GO&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Falls jetzt nch die msdb und/oder die model neu erzeugt werden sollen oder die tempdb verschoben werden soll, einfach die Startparameter -f;-T3608 weiter eingetragen lassen.&lt;br /&gt;
&lt;br /&gt;
Ansonsten diese wieder entfernen und den Server durchstarten.&lt;br /&gt;
&lt;br /&gt;
== msdb und model ==&lt;br /&gt;
&lt;br /&gt;
Wenn der Server nach einem Restore der msdb und/oder model nicht startet oder diese beim Start nicht gefunden werden, sind sie wahrscheinlich mit einem falschen Pfad in der master DB registriert. Mit den Startparametern -f;-T3608 wird verhindert, dass der Server bei einem Fehlen dieser Datenbanken mit einem Fehler abbricht.&lt;br /&gt;
&lt;br /&gt;
Also den Server einmal durchstarten und dann mittels ALTER DATABASE den neuen Ort der DB Dateien angeben:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
ALTER DATABASE model MODIFY FILE (NAME=modeldev, FILENAME= &amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\model.mdf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE model MODIFY FILE (NAME=modellog, FILENAME=&amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\modellog.ldf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE msdb MODIFY FILE (NAME=MSDBdata, FILENAME= &amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\msdbdata.mdf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE msdb MODIFY FILE (NAME=MSDBlog, FILENAME=&amp;#039;C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\msdblog.ldf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jetzt wieder die Startparameter entfernen und kontrollieren, ob der Server jetzt korrekt startet.&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Falls die DB Dateien noch gar nicht existieren kann jetzt an die neue Position auch ein Restore der beiden DBs gemacht werden.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
RESTORE DATABASE msdb FROM DISK = &amp;#039;e:\BackupDir\msdb_1_Full.bak&amp;#039; WITH REPLACE;&lt;br /&gt;
&lt;br /&gt;
-- Und als Beispiel ein Fullbackup aus zwei Disks:&lt;br /&gt;
RESTORE DATABASE model FROM DISK = &amp;#039;e:\BackupDir\model_1_Full.bak&amp;#039; , DISK = &amp;#039;e:\tmp\model_2_Full.bak&amp;#039;&lt;br /&gt;
WITH REPLACE;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== tempdb ==&lt;br /&gt;
&lt;br /&gt;
Der Server braucht für einen erfolgreichen Start auch eine tempdb, die automatisch aus der model db erzeugt wird, falls diese nicht gefunden wird. Das ganze setzt natürlich voraus, dass der Pfad, wo die Dateien angelegt werden sollen, überhaupt existiert.&lt;br /&gt;
&lt;br /&gt;
Ggf. also wieder mit den Startparametern -f;-T3608 den Server durchstarten und die tempdb Files an der neuen Stelle in der master db registrieren.&lt;br /&gt;
&lt;br /&gt;
=== Welche tempdb Files müssen alle verschoben werden? ===&lt;br /&gt;
&lt;br /&gt;
Da ich meine tempdb files immer mit temp anfange zu benenne, bekomme ich mit der folgenden Query raus, welche tempdb Files alle verschoben werden müssen:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
select * from sys.master_files where name like &amp;#039;temp%&amp;#039;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Verschieben der tempdb ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;tsql&amp;quot;&amp;gt;&lt;br /&gt;
ALTER DATABASE tempdb MODIFY FILE (NAME=tempdev, FILENAME= &amp;#039;D:\MSSQL\DATA\tempdb.mdf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE tempdb MODIFY FILE (NAME=tempdev2, FILENAME= &amp;#039;D:\MSSQL\DATA\tempdb2.mdf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE tempdb MODIFY FILE (NAME=templog, FILENAME=&amp;#039;D:\MSSQL\TRAN\tempdb.ldf&amp;#039;);&lt;br /&gt;
GO&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
== Weitere Probleme ==&lt;br /&gt;
&lt;br /&gt;
Falls der Server ganz neu aufgesetzt wurde, wird wahrscheinlich der auch der Service Master Key fehlen. Dieser sollte hoffentlich aus einer Sicherung, die direkt nach der Installation des SQL Servers gemacht wurde, wiederhergestellt werden.&lt;br /&gt;
&lt;br /&gt;
[[MSSQL Backup Restore Service Master Key (SMK)|Backup Restore Service Master Key]]&lt;/div&gt;</summary>
		<author><name>David</name></author>	</entry>

	</feed>