<?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"
	>

<channel>
	<title>Dr Jan's Tips From The Top &#187; backups</title>
	<atom:link href="http://www.dr-jan.com/tips/category/backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dr-jan.com/tips</link>
	<description>Handy hints and techy tips from Dr Jan.</description>
	<pubDate>Sat, 08 Nov 2008 15:13:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Thunderbird and Lightning</title>
		<link>http://www.dr-jan.com/tips/2008/04/24/thunderbird-and-lightning/</link>
		<comments>http://www.dr-jan.com/tips/2008/04/24/thunderbird-and-lightning/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 22:23:52 +0000</pubDate>
		<dc:creator>drjan</dc:creator>
		
		<category><![CDATA[N95]]></category>

		<category><![CDATA[backups]]></category>

		<category><![CDATA[blackberry]]></category>

		<category><![CDATA[calendars]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[phones]]></category>

		<category><![CDATA[thunderbird]]></category>

		<category><![CDATA[calendar]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[google data provider]]></category>

		<category><![CDATA[goosync]]></category>

		<category><![CDATA[lightning]]></category>

		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/2008/04/24/thunderbird-and-lightning/</guid>
		<description><![CDATA[Previously on Twin Peaks I wrote about the problems I was having with the Lightning calendar add-on for the Thunderbird email client, to the extent that I had to un-install the add-on and the associated Google Data Provider add-on (which synchronises calendars between Lightning and Google Calendar).
I&#8217;m pleased to report that since the release of [...]]]></description>
			<content:encoded><![CDATA[<p>Previously on Twin Peaks I <a href="http://www.dr-jan.com/tips/2007/12/31/disabling-thunderbird-addons/" >wrote</a> about the problems I was having with the <a href="https://addons.mozilla.org/en-US/thunderbird/addon/2313" onclick="javascript:urchinTracker ('/outbound/article/addons.mozilla.org');">Lightning</a> calendar add-on for the <a href="http://www.mozilla.com/en-US/thunderbird/" onclick="javascript:urchinTracker ('/outbound/article/www.mozilla.com');">Thunderbird</a> email client, to the extent that I had to un-install the add-on and the associated <a href="https://addons.mozilla.org/en-US/thunderbird/addon/4631" onclick="javascript:urchinTracker ('/outbound/article/addons.mozilla.org');">Google Data Provider</a> add-on (which synchronises calendars between Lightning and <a href="http://www.google.com/calendar/" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');">Google Calendar</a>).</p>
<p>I&#8217;m pleased to report that since the release of version 0.8 of Lightning, and the corresponding update of the Google Data Provider add-on everything seems to be working well. I can now update calendar data in both directions.</p>
<p>This, in combination with <a href="http://www.goosync.com/" onclick="javascript:urchinTracker ('/outbound/article/www.goosync.com');">GooSync</a>, which syncs the Google Calendar to my mobile phone (a Nokia N95), means all my calendars are now easy to keep in sync.</p>
<p>For work I use a Blackberry 8300, and I&#8217;m pleased to say there&#8217;s an official <a href="http://www.google.com/support/mobile/bin/topic.cs/bin/topic.py?topic=13626&#038;hl=en" onclick="javascript:urchinTracker ('/outbound/article/www.google.com');">Google application</a> to sync the calendar.</p>
<p>Phew! Synchronising calendars has been a surprisingly difficult problem to solve, but thankfully we seem to have licked that particular problem now <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2008/04/24/thunderbird-and-lightning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Transferring Lots Of Small Data</title>
		<link>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/</link>
		<comments>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 20:41:37 +0000</pubDate>
		<dc:creator>drjan</dc:creator>
		
		<category><![CDATA[backups]]></category>

		<category><![CDATA[networks]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/</guid>
		<description><![CDATA[I was in the situation recently where I needed to transfer about 500Gb of data from one HP-UX box to another.
Unfortunately most of these data were in small files - the largest probably a megabyte or so.
I ran some speed tests. We had gigabit ethernet connecting the 2 boxes on a little used LAN.
I wrote [...]]]></description>
			<content:encoded><![CDATA[<p>I was in the situation recently where I needed to transfer about 500Gb of data from one HP-UX box to another.</p>
<p>Unfortunately most of these data were in small files - the largest probably a megabyte or so.</p>
<p>I ran some speed tests. We had gigabit ethernet connecting the 2 boxes on a little used LAN.</p>
<p>I wrote a small script to start 6 copy processes in parallel and another to periodically measure how much disk space had been used on the target machine.</p>
<p>I found that 6 simultaneous scp commands ran at about 15Mb/s (Megabytes per second). scp has the overhead of encrypting the data stream before it is transferred, so I tried plain old rcp as well. That gave me worse results than scp.</p>
<p>Thinking that the large number of small files was slowing things down I tried using tar to batch up the files. I wrote a tiny script to pipe the output of the tar command across to the target machine directly in to a receiving tar process which unbundled the files.</p>
<p>The tar approach almost doubled the rate of transfer to about 30Mb/s.</p>
<p>Here are the tar commands. Note that you&#8217;ll need to enable r-commands by creating .rhosts files in the home directories of each machine (remove these after they copy is complete - they are notorious security problems). Note also that, as usual, HP-UX is awkward - whereas the rest of the world uses &#8216;rsh&#8217; for the remote-shell command, HP-UX uses &#8216;remsh&#8217;. &#8216;rsh&#8217; is some kind of <em>restricted</em> shell in HP parlance.</p>
<pre>box1> cd source_directory; tar cf - . | remsh box2 "cd target_directory; tar xf - "</pre>
<p>The first tar command creates a file called &#8216;-&#8217;, which is a special token meaning &#8217;standard output&#8217; in this case. The archive created contains all the files in the current directory (.) plus all subdirectories (tar is recursive by default). This archive file is piped into the remsh command which sends it to the box2 machine. On box 2 I first change to the proper receiving directory, then I extract from &#8216;-&#8217;, or &#8217;standard input&#8217; the incoming files.</p>
<p>I had 6 of these tar commands running simultaneously to ensure the network link was saturated with data, although I suspect that disk access may have been the limiting factor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2006/11/23/transferring-lots-of-small-data/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Backup</title>
		<link>http://www.dr-jan.com/tips/2006/09/04/backup/</link>
		<comments>http://www.dr-jan.com/tips/2006/09/04/backup/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 23:20:33 +0000</pubDate>
		<dc:creator>drjan</dc:creator>
		
		<category><![CDATA[backups]]></category>

		<category><![CDATA[tutorial]]></category>

		<category><![CDATA[unix]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.dr-jan.com/tips/2006/09/04/backup/</guid>
		<description><![CDATA[If the first step in any procedure is &#8216;backup your data&#8217;, for goodness&#8217; sake do as it says!
Don&#8217;t think that because you&#8217;re more technical/brighter/don&#8217;t really care about the existing data that you&#8217;ll be OK.
If you don&#8217;t have a back up Murphy&#8217;s Law dictates that something disastrous will happen and you&#8217;ll lose everything.
If you do have [...]]]></description>
			<content:encoded><![CDATA[<p>If the first step in any procedure is &#8216;backup your data&#8217;, for goodness&#8217; sake do as it says!</p>
<p>Don&#8217;t think that because you&#8217;re more technical/brighter/don&#8217;t really care about the existing data that you&#8217;ll be OK.</p>
<p>If you don&#8217;t have a back up Murphy&#8217;s Law dictates that something disastrous will happen and you&#8217;ll lose everything.</p>
<p>If you <em>do</em> have a backup, by the same logic you&#8217;ll be fine. Think of it as an insurance policy <img src='http://www.dr-jan.com/tips/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dr-jan.com/tips/2006/09/04/backup/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.415 seconds -->
