<?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>Michael Helm&#039;s Technology Blog &#187; backup</title>
	<atom:link href="http://www.ihelm.org.uk/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Thu, 29 Sep 2011 22:19:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Migrating Cpanel accounts to  new Cpanel Server &#8211; by command line.</title>
		<link>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/</link>
		<comments>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 21:26:46 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=112</guid>
		<description><![CDATA[The Cpanel system has a feature to migrate accounts from another server - be it Cpanel or another webhosting panel - this often works, recently though I've had a problem with using it for Cpanel to Cpanel where it would connect but fail to transfer the backup file.]]></description>
			<content:encoded><![CDATA[<p>Cpanel is a good system for administrating a server with many sites on it, i&#8217;ve used ensim, webmin and a couple of others in years gone by (Plesk and parallels were disasters for me!).  However occasionally something that you think should work just doesn&#8217;t and for no obvious reason.</p>
<p>The Cpanel system has a feature to migrate accounts from another server &#8211; be it Cpanel or another webhosting panel &#8211; this often works, recently though I&#8217;ve had a problem with using it for Cpanel to Cpanel where it would connect but fail to transfer the backup file.</p>
<p>Fortunately it&#8217;s really easy to use the commandline with cpanel and you can do it manually (actually it&#8217;s easier than the wizard!)</p>
<p>On the server you are migrating from just type (while logged in as root!)</p>
<p><strong>/scripts/pkgacct <em><span style="text-decoration: underline;">username</span></em></strong></p>
<p>This will create a tar.gz in the /home directory on the server &#8211; just copy this to the new server (it could take a while &#8211; it has everything from the account you are copying).</p>
<p>On the destination server just type in</p>
<p><strong>/scripts/restorepkg </strong><em><span style="text-decoration: underline;"><strong>username</strong></span></em></p>
<p>This creates (or overwrites the account!) on the server &#8211; and your done!.  But what if you have a dedicated IP (due to SSL?)</p>
<p>Easy just use this instead</p>
<p><strong>/scripts/restorepkg &#8211;ip=y <em><span style="text-decoration: underline;">username</span></em></strong></p>
<p>This gives it the next free dedicated IP address (make sure you have one free!)</p>
<p>And that&#8217;s it &#8211; it is honestly easier than the wizard which requires you to add more info to establish the transfer link.</p>
<p>One thing to note is that you should ensure that the versions of cpanel are as near as you can get &#8211; otherwise it might fail or do things a little weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2010/03/migrating-cpanel-accounts-to-new-cpanel-server-by-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backup Backup Backup</title>
		<link>http://www.ihelm.org.uk/2007/11/backup-backup-backup/</link>
		<comments>http://www.ihelm.org.uk/2007/11/backup-backup-backup/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 21:24:45 +0000</pubDate>
		<dc:creator>mhelm</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[file sharing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nas]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=23</guid>
		<description><![CDATA[An incident earlier this week has made me review the backup systems in place for my wifes company (www.ihelm-enterprises.co.uk).

One of our clients doesn't exclusively use us and so had a problem when another host lost a server and had no backups - the client also doesn't backup frequently and had hoped that the server hosts would have some form of backup - but of course they didn't.]]></description>
			<content:encoded><![CDATA[<p>An incident earlier this week has made me review the backup systems in place for my wifes company (www.ihelm-enterprises.co.uk).</p>
<p>One of our clients doesn&#8217;t exclusively use us and so had a problem when another host lost a server and had no backups &#8211; the client also doesn&#8217;t backup frequently and had hoped that the server hosts would have some form of backup &#8211; but of course they didn&#8217;t.</p>
<p>We have always been a bit unusual in that we have routinely done backups &#8211; however we don&#8217;t do them every day and they do frequently fail &#8211; as we have a mixture of servers we had a rather un-orthodox way of doing them.</p>
<p>Server 1 performed its backup by transferring to Server2<br />
Server 2 then transferred server 1 and server 2&#8242;s backup to the next server etc&#8230; until the final resting place was a repository where only the final server could get teh files &#8211; this was backed up by a 3rd party regularly.</p>
<p>However after hearing of our clients problems I thought I would try our system to see if we could easily recover &#8211; and found that<br />
a) our repository was full and I hadn&#8217;t had any notification of this.<br />
b) geting the files off was extremely difficult as some of the files are very large and the server will access to the repository didn&#8217;t have a lot of space&#8230;<br />
c)  Some of the servers have not been notifying me of messages encountered during the backup so no idea of the files were complete or not.</p>
<p>So decided to re-think this a bit.</p>
<p>Now our servers transmit to our office computers &#8211; one of which is on 24hrs &#8211; this then uses windows file sharing (despite it being a linux computer <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) to copy the files over to a new NAS which is located somewhere the office.</p>
<p>We have already seen some benefits from this &#8211; we can easily see what files are on the NAS &amp; restoring is simple, also each server has a set time to transfer its files &#8211; so any problems we only need to look at that server and re-run specific backups.</p>
<p>The bottom line is &#8211; if you do provide backups or just to backup your own work &#8211; do check your backup system every now and again &#8211; ours had been in place over a year after the previous model was un-doable with the adsl we had at the time &#8211; but since then the cheapness of Network Attached Storage devices has meant we can affordably implement this as well.</p>
<p>Backup &#8211; Backup &#8211; Backup &#8211; Check &#8211; Review &#8211; Backup &#8211; Backup &#8211; Backup &#8211; Check &#8211; Review, this is now my new mantra!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2007/11/backup-backup-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

