<?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>Sys Admin &#8211; James Lin&#039;s Blog</title>
	<atom:link href="https://james.lin.net.nz/category/technology/sys-admin/feed/" rel="self" type="application/rss+xml" />
	<link>https://james.lin.net.nz</link>
	<description>Just bits and pieces of my life</description>
	<lastBuildDate>Fri, 19 Jan 2018 22:42:50 +0000</lastBuildDate>
	<language>en-NZ</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.2</generator>
<site xmlns="com-wordpress:feed-additions:1">22801464</site>	<item>
		<title>A poor guy&#8217;s home backup recipe</title>
		<link>https://james.lin.net.nz/2014/11/13/a-poor-guys-home-backup-recipe/</link>
		<comments>https://james.lin.net.nz/2014/11/13/a-poor-guys-home-backup-recipe/#respond</comments>
		<pubDate>Wed, 12 Nov 2014 22:12:27 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Life In General]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[nas]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=3551</guid>
		<description><![CDATA[Everyone has tons of photos taken over the years right? And you probably want to make sure that you don&#8217;t lose them, either by hard-drive failure or thief visit to your house. Original setup and problems: I have a couple of Macs at home, both using TimeMachine for regular backups.  I didn&#8217;t have a TimeCapsule… <span class="read-more"><a href="https://james.lin.net.nz/2014/11/13/a-poor-guys-home-backup-recipe/">Read More &#187;</a></span>]]></description>
				<content:encoded><![CDATA[<p>Everyone has tons of photos taken over the years right? And you probably want to make sure that you don&#8217;t lose them, either by hard-drive failure or thief visit to your house.</p>
<p><strong>Original setup and problems:</strong></p>
<ol>
<li>I have a couple of Macs at home, both using TimeMachine for regular backups.  I didn&#8217;t have a TimeCapsule to centralise the backups, so 2 separate external hard-drives were used. The problem was I had to remember to plug the TimeMachine HDD regularly to perform backup, and had risks of HDD failures</li>
<li>Since there are 2 different standalone backups, I cannot push them to the cloud backup service using a single account.</li>
</ol>
<p><strong>Building a in-house NAS server</strong></p>
<p>Hardware:</p>
<p>I had a 8 years old PC laying around, it has a Core 2 Duo (64bit) and 2 Gb of memory. I bought a couple of 3TB Western Digital Green Drives for the RAID 1 setup.</p>
<p>Software:</p>
<p>&nbsp;</p>
<p>Initially I have tried FreeNas project but later I realised it&#8217;s not a poor man&#8217;s choice, basically it&#8217;s using ZFS and it&#8217;s very resource hungry.  I ended up using <a title="OpenMediaValut" href="http://www.openmediavault.org/">OpenMediaVault</a> It&#8217;s a linux distro based on Debian, so you can use apt-get to install different packages outside of OpenMediaVault package.</p>
<p>OpenMediaVault includes a few plugins which allows you to provide Apple File Protocol, which enables TimeMachine backups within the network, also FTP, Rsync etc etc</p>
<p><strong>Cloud Backup</strong></p>
<p>Having mirrored drives might reduce HDD failure impact but still doesn&#8217;t prevent hardware being stolen or damage in fire. Originally before setting up the NAS server, I used BackBlaze on my Mac, but the problem is it only runs on Mac, and it can only run on a single computer, so my wife&#8217;s laptop was not being backed up to the cloud.</p>
<p>I have made a switch to CrashPlan, which has a build for linux so I use choose the shared folders to push to the cloud.</p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2014/11/13/a-poor-guys-home-backup-recipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">3551</post-id>	</item>
		<item>
		<title>Supervisord, you should use that</title>
		<link>https://james.lin.net.nz/2014/02/01/supervisord-you-should-use-that/</link>
		<comments>https://james.lin.net.nz/2014/02/01/supervisord-you-should-use-that/#respond</comments>
		<pubDate>Fri, 31 Jan 2014 21:06:58 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=3480</guid>
		<description><![CDATA[&#160; So I&#8217;ve finally come across this little nifty tool and enjoying it, what it does in a 1000km view is to probably the same as init scripts and daemonize your programs. Supervisord also gives you the ability to control your programs on the web, O.M.G, it also allows you to tail the logs on… <span class="read-more"><a href="https://james.lin.net.nz/2014/02/01/supervisord-you-should-use-that/">Read More &#187;</a></span>]]></description>
				<content:encoded><![CDATA[<p><a href="https://i0.wp.com/james.lin.net.nz/wp-content/uploads/2014/02/Screen-Shot-2014-02-01-at-10.00.01-am.png"><img class="alignnone size-full wp-image-3481" alt="Screen Shot 2014-02-01 at 10.00.01 am" src="https://i0.wp.com/james.lin.net.nz/wp-content/uploads/2014/02/Screen-Shot-2014-02-01-at-10.00.01-am.png?resize=665%2C154" srcset="https://i0.wp.com/james.lin.net.nz/wp-content/uploads/2014/02/Screen-Shot-2014-02-01-at-10.00.01-am.png?w=804&amp;ssl=1 804w, https://i0.wp.com/james.lin.net.nz/wp-content/uploads/2014/02/Screen-Shot-2014-02-01-at-10.00.01-am.png?resize=300%2C69&amp;ssl=1 300w, https://i0.wp.com/james.lin.net.nz/wp-content/uploads/2014/02/Screen-Shot-2014-02-01-at-10.00.01-am.png?resize=660%2C152&amp;ssl=1 660w" sizes="(max-width: 665px) 100vw, 665px" data-recalc-dims="1" /></a></p>
<p>&nbsp;</p>
<p>So I&#8217;ve finally come across this little nifty tool and enjoying it, what it does in a 1000km view is to probably the same as init scripts and daemonize your programs.</p>
<p>Supervisord also gives you the ability to control your programs on the web, O.M.G, it also allows you to tail the logs on a browser!  Tip: redirect_stderr=true</p>
<p>It&#8217;s very easy to install, I recommend to install via apt-get if you are on ubuntu so you don&#8217;t need to do extra work.</p>
<p>Check it out!</p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2014/02/01/supervisord-you-should-use-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">3480</post-id>	</item>
		<item>
		<title>Resize your images on mac, command line</title>
		<link>https://james.lin.net.nz/2013/11/26/resize-your-images-on-mac-command-line/</link>
		<comments>https://james.lin.net.nz/2013/11/26/resize-your-images-on-mac-command-line/#respond</comments>
		<pubDate>Tue, 26 Nov 2013 02:24:30 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Sys Admin]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=3453</guid>
		<description><![CDATA[There is a built in command line tool called &#8216;sips&#8217; Simply open up terminal and cd to the images directory and execute: [crayon-5a659ae97ae55883459609/]]]></description>
				<content:encoded><![CDATA[<p>There is a built in command line tool called &#8216;sips&#8217;</p>
<p>Simply open up terminal and cd to the images directory and execute:</p>
<p></p><pre class="crayon-plain-tag">sips -Z 670 *.JPG</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2013/11/26/resize-your-images-on-mac-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">3453</post-id>	</item>
	</channel>
</rss>
