<?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[How to accelerate hspc-mn-backup utility]]></title>
<link>http://kb.parallels.com/en/6290</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How to accelerate hspc-mn-backup utility</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 6290&nbsp;</div>
					<div>Last Review: May,4 2009</div>
					<tr>
						<td>Author: </td>
						<td>Bogdan Shyshka</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Bogdan Shyshka</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Business Automation - Standard 3.3.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>Resolution</h2>
					The hspc-mn-backup utility is used in&nbsp;PBAS&nbsp;migration from one node to another one, or for simple full system backup.<br /><br />Related articles:<br /><a href="http://kb.parallels.comhttp://kb.parallels.com/en/2126">http://kb.parallels.com/en/2126</a><br /><a href="http://kb.parallels.comhttp://download1.swsoft.com/HSPcomplete/3.3/release/doc/HSPC_ADV/16095.htm">http://download1.swsoft.com/HSPcomplete/3.3/release/doc/HSPC_ADV/16095.htm</a><br /><br />This migration utility make one large backup with all files inside directories:<blockquote><div><em>/var/lib/mysql<br />/var/opt/<br />/var/www/<br />/etc/hspc<br />/etc/hspcd<br />/etc/httpd<br />/etc/my.cnf<br />/etc/powerdns<br />/vz/</em></div></blockquote><br /><br />So there is a way to speed up this utility by checking the above directories for some unnecessary files, usually such files are:<ul><li>- old dumps in <em>/var/lib/mysql/</em></li><li>- aspc database copy in <em>/var/lib/mysql/</em></li></ul><br />But in most cases the hugest folder is <em>/vz/tmplrep/</em> where rpms are stored. Basically, before the migration you may move all <em>/vz/tmplrep/</em> folder to new server with <strong>scp</strong> command , and move it on source off <em>/vz/</em> folder, for example to <em>/root/tmplrep/</em> .<br /><br /><br />Also, you may check estimated time how long backup will be created and how much it will take without stopping PBAS with command:<br /><strong><br /></strong><br /><div class="commandline"><code># <strong>hspc-mn-backup -b --no-pre</strong></code></div><br /><br /><br />This will not stop MySQL or PBAS. If it will be finished successfully you may start migration to new server.
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=6290&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=6290&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' : '6290',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





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

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


]]></description>
<author>Bogdan Shyshka</author>
<guid isPermaLink="false">9097 LastUpdated: 2009-05-04 13:31:01</guid>
<pubDate>2009-05-04 13:05:12</pubDate>
</item>
</channel>
</rss>



