<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Log Shipping encounters corrupt log backup	</title>
	<atom:link href="https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/</link>
	<description>DBA</description>
	<lastBuildDate>Thu, 18 Apr 2013 01:49:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>
		By: DBAduck		</title>
		<link>https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/#comment-34</link>

		<dc:creator><![CDATA[DBAduck]]></dc:creator>
		<pubDate>Thu, 18 Apr 2013 01:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://dbaduck.wpengine.com/?p=82#comment-34</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/#comment-33&quot;&gt;Dan Teshome&lt;/a&gt;.

I think that you can do something like what you are proposing, but let me add some feedback to your idea.
In 2, you will check the status of the session, but SUSPENDED is a valid state, which means that it &quot;was&quot; running and is now waiting. If you kill that SPID, you may be rolling back some transaction that may be large as well. Other status&#039; may be OK.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/#comment-33">Dan Teshome</a>.</p>
<p>I think that you can do something like what you are proposing, but let me add some feedback to your idea.<br />
In 2, you will check the status of the session, but SUSPENDED is a valid state, which means that it &#8220;was&#8221; running and is now waiting. If you kill that SPID, you may be rolling back some transaction that may be large as well. Other status&#8217; may be OK.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan Teshome		</title>
		<link>https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/#comment-33</link>

		<dc:creator><![CDATA[Dan Teshome]]></dc:creator>
		<pubDate>Tue, 02 Apr 2013 18:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://dbaduck.wpengine.com/?p=82#comment-33</guid>

					<description><![CDATA[Hi, Brian:

I saw one of your comments on Expert-Exchange re: log shipping and decided to conact you.  I will appreciate your comment on my idea, please:

SQL Server Log Shipping &quot;Graceful&quot; Restore

I HAVE NOT TRIED THIS YET, BUT IT WILL BE A MORE ELEGANT AND &quot;VERSITILE&quot; SOLUTION.  PLEASE READ CAREFULLY AND GIVE MY YOUR FEEDBACK:

I am getting ready to replace SQL 2005 Replication with Log Shipping ... 
(this has already been decided and is not why I am asking this?)

Here is the problem that I would like your expert opinions on:
After setting up LS, when the logs are restored, I don&#039;t want the option 
to kill all connections and restore.

I also don&#039;t want to wait until all connections are completed ... as this may be a very long wait.

What do you think of this idea:
1- Run a job before the scheduled log restore jobe is to be run 
2- This job will check for the STATUS of each SPID (RUNNING, SUSPENDED, RUNNABLE, PENDING, BACKGROUND, SLEEPING)  and kill everything thta is not in &quot;RUNNING&quot; state.
3- If there are no running processes, then restore log.
4- If there are RUNNING processes, it will repeate steps 2 and 3 ...

I need to come up with a solution that will ensure that there is minimul interruption to people using the DB fro reports.

I will appreciate your comment.

Thanks,
D]]></description>
			<content:encoded><![CDATA[<p>Hi, Brian:</p>
<p>I saw one of your comments on Expert-Exchange re: log shipping and decided to conact you.  I will appreciate your comment on my idea, please:</p>
<p>SQL Server Log Shipping &#8220;Graceful&#8221; Restore</p>
<p>I HAVE NOT TRIED THIS YET, BUT IT WILL BE A MORE ELEGANT AND &#8220;VERSITILE&#8221; SOLUTION.  PLEASE READ CAREFULLY AND GIVE MY YOUR FEEDBACK:</p>
<p>I am getting ready to replace SQL 2005 Replication with Log Shipping &#8230;<br />
(this has already been decided and is not why I am asking this?)</p>
<p>Here is the problem that I would like your expert opinions on:<br />
After setting up LS, when the logs are restored, I don&#8217;t want the option<br />
to kill all connections and restore.</p>
<p>I also don&#8217;t want to wait until all connections are completed &#8230; as this may be a very long wait.</p>
<p>What do you think of this idea:<br />
1- Run a job before the scheduled log restore jobe is to be run<br />
2- This job will check for the STATUS of each SPID (RUNNING, SUSPENDED, RUNNABLE, PENDING, BACKGROUND, SLEEPING)  and kill everything thta is not in &#8220;RUNNING&#8221; state.<br />
3- If there are no running processes, then restore log.<br />
4- If there are RUNNING processes, it will repeate steps 2 and 3 &#8230;</p>
<p>I need to come up with a solution that will ensure that there is minimul interruption to people using the DB fro reports.</p>
<p>I will appreciate your comment.</p>
<p>Thanks,<br />
D</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brian Hines		</title>
		<link>https://www.dbaduck.com/log-shipping-encounters-corrupt-log-backup/#comment-32</link>

		<dc:creator><![CDATA[Brian Hines]]></dc:creator>
		<pubDate>Thu, 08 Nov 2012 21:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://dbaduck.wpengine.com/?p=82#comment-32</guid>

					<description><![CDATA[Thanks for the heads up.. I often have to do this when I am reporting as well.. It&#039;s nice to know there are other alternatives.  Thanks for the info!]]></description>
			<content:encoded><![CDATA[<p>Thanks for the heads up.. I often have to do this when I am reporting as well.. It&#8217;s nice to know there are other alternatives.  Thanks for the info!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
