<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Restore Database &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/restore-database/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Mon, 30 Jan 2017 19:41:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>SQL Server: How to Restore Database from Snapshot Database?</title>
		<link>https://www.dbrnd.com/2017/01/sql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 29 Jan 2017 19:40:15 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Restore Database]]></category>
		<category><![CDATA[Snapshot database]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tuning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=2487</guid>

					<description><![CDATA[In the previous two articles, I have shared basic details about the SQL Server Snapshot and how we can configure it. But one of the important things is, we can also restore a source database from the created Snapshot database. SQL Server: What is Database Snapshot and How it works? SQL Server: How to create [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&amp;linkname=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2017%2F01%2Fsql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database%2F&#038;title=SQL%20Server%3A%20How%20to%20Restore%20Database%20from%20Snapshot%20Database%3F" data-a2a-url="https://www.dbrnd.com/2017/01/sql-server-how-to-restore-database-from-snapshot-database-script-to-restore-database/" data-a2a-title="SQL Server: How to Restore Database from Snapshot Database?"></a></p><p><em>In the previous two articles, I have shared basic details about the SQL Server Snapshot and how we can configure it.<br />
But one of the important things is, we can also restore a source database from the created Snapshot database. </em></p>
<blockquote class="wp-embedded-content" data-secret="EjcgaaLrLv"><p><a href="https://www.dbrnd.com/2017/01/sql-server-what-is-database-snapshot-and-how-it-works-read-only-database/">SQL Server: What is Database Snapshot and How it works?</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2017/01/sql-server-what-is-database-snapshot-and-how-it-works-read-only-database/embed/#?secret=EjcgaaLrLv" data-secret="EjcgaaLrLv" width="600" height="338" title="&#8220;SQL Server: What is Database Snapshot and How it works?&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote class="wp-embedded-content" data-secret="z819gApsOZ"><p><a href="https://www.dbrnd.com/2017/01/sql-server-how-to-create-snapshot-database-for-read-only-access/">SQL Server: How to create Snapshot Database?</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2017/01/sql-server-how-to-create-snapshot-database-for-read-only-access/embed/#?secret=z819gApsOZ" data-secret="z819gApsOZ" width="600" height="338" title="&#8220;SQL Server: How to create Snapshot Database?&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<blockquote><p>When we update anything in the source database, it holds the modified pages and copied original pages into the Snapshot database.<br />
The Snapshot database is a collection of the original pages and source database may have some original and updated pages. </p></blockquote>
<blockquote><p>The Snapshot is a virtual backup of the Source database and sometimes it happens that after the creation of Snapshot database, some invalid operation or update happen on the source database. </p></blockquote>
<blockquote><p>If any corruption happens in the Source database, we can restore original pages from Snapshot database and can overwrite on the modified pages in the Source database and Transaction log also update accordingly. </p></blockquote>
<blockquote><p>
Generally, restoring a database from the Snapshot is not an always preferable option.<br />
The best practice is to take a full database backup regularly and whenever it is required we can restore it. But to restore a Source Database using Snapshot Database is faster than the regular restore operation. </p></blockquote>
<p><strong>Script to restore using Snapshot Database: </strong></p>
<pre class="crayon-plain-tag">USE master
GO
RESTORE DATABASE [Source_Database]
FROM DATABASE_SNAPSHOT = 'Snapshot_Database'
GO</pre> </p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
