<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[Backup of a domain is never finished in Expand.]]></title>
<link>http://kb.parallels.com/en/6274</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">Backup of a domain is never finished in Expand.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 6274&nbsp;</div>
					<div>Last Review: Apr,23 2009</div>
					<tr>
						<td>Author: </td>
						<td>Kichigin Aleksey</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Kichigin Aleksey</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 8.x for Windows</li>
							<li>Expand 2.x</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Symptoms</h2>
					<div class="messagestanza0">The backup task is never finished in Expand. The backup task is completed successfully on Parallels Plesk Panel server where the domain resides, but is shown with &quot;working&quot; status in Expand.</div>
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					To fix the issue it is necessary to remove all entries related to the domain from <strong>longtasks</strong> table of of Plesk database.<br /><br />1. Run command below to selelct all records for the domain:<br /><br /><span style="background-color: rgb(192, 192, 192);">&quot;%plesk_bin%&quot;\dbclient.exe --direct-sql &quot;--sql=select id,start_time,finish_time,status FROM longtasks where title like '%domain.tld%'</span><br /><br />Where <strong>domain.tld</strong> is domain which fails to backup.<br /><br />An example of output:<br /><br />&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; start_time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; finish_time&nbsp;&nbsp;&nbsp;&nbsp; status<br />&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-26 11:51:01&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-28 12:21:36&nbsp;&nbsp;&nbsp;&nbsp; cancel_pending<br />&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 14:23:20&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 20:23:20&nbsp;&nbsp;&nbsp;&nbsp; done<br />&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 14:24:19&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 20:24:19&nbsp;&nbsp;&nbsp;&nbsp; error<br />&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 14:26:52&nbsp;&nbsp;&nbsp;&nbsp; 2009-01-30 20:26:52&nbsp;&nbsp;&nbsp;&nbsp; done<br /><br />2. Remove all records except last succesfull one, example for output above:<br /><br /><span style="background-color: rgb(192, 192, 192);"><span>&quot;%plesk_bin%&quot;\dbclient.exe --direct-sql </span><span>&quot;--sql=</span>delete from longtasks where title like '%<span>domain.tld</span>%' and id&lt;&gt;4&quot;</span>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=6274&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=6274&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '6274',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Kichigin Aleksey</author>
<guid isPermaLink="false">8760 LastUpdated: 2009-04-23 10:41:56</guid>
<pubDate>2009-04-23 08:01:34</pubDate>
</item>
</channel>
</rss>



