{"id":441,"date":"2008-01-27T22:11:49","date_gmt":"2008-01-28T06:11:49","guid":{"rendered":"http:\/\/www.elbeno.com\/blog\/?p=441"},"modified":"2008-01-27T22:13:47","modified_gmt":"2008-01-28T06:13:47","slug":"backup-solution-evolved","status":"publish","type":"post","link":"https:\/\/www.elbeno.com\/blog\/?p=441","title":{"rendered":"Backup Solution, Evolved"},"content":{"rendered":"<p>At the end of November, <a href=\"https:\/\/www.elbeno.com\/blog\/?p=418\">I invested in a NAS box<\/a> with 500GB of RAID 1 space. This weekend I finally got around to another thing on my todo list: updating the firmware of said box and doing some spelunking. Using <a href=\"http:\/\/www.inreto.de\/dns323\/fun-plug\/\">a marvellous thing<\/a> called fun-plug, I now have some real Linux power on the DNS-323.<\/p>\n<p>It was easy to install, and by default get telnet access to the box. Once in, I set up a non-root user and enabled the <a href=\"http:\/\/matt.ucc.asn.au\/dropbear\/dropbear.html\">Dropbear<\/a> ssh daemon. Since I already had a public RSA key generated on my client box (for ssh access to Dreamhost), all I had to do was copy it to the box as ~\/.ssh\/authorized_keys &#8211; and this gave me ssh access without asking for a password every time.<\/p>\n<p>The next thing to do was get <a href=\"http:\/\/samba.anu.edu.au\/rsync\/\">rsync<\/a> working. Fun-plug includes rsync, a script to start it in daemon mode, and a sample rsyncd.conf file.  After a bit of reading manpages and online tutorials, I was set, and rsync is currently doing its thing vis-\u00c3\u00a0-vis my home directory. I&#8217;ve written some rsync scripts to back up various parts of my system, and I&#8217;ll put it all on cron jobs of course. It&#8217;s much better than my previous stopgap solution of manual copying. When you have huge directories of stuff that change\/grow frequently (e.g. my &#8220;pictures&#8221; directory) manual copying is really a poor substitute for diffing and updating only what&#8217;s needed.<\/p>\n<p>Also, following up from November&#8217;s post, I have a 500GB drive in a eSATA\/USB enclosure currently sitting safely in my desk drawer at work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the end of November, I invested in a NAS box with 500GB of RAID 1 space. This weekend I finally got around to another thing on my todo list: updating the firmware of said box and doing some spelunking. Using a marvellous thing called fun-plug, I now have some&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-441","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=441"}],"version-history":[{"count":0,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/441\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}