{"id":3697,"date":"2020-03-23T10:00:41","date_gmt":"2020-03-23T15:00:41","guid":{"rendered":"https:\/\/www.foell.org\/justin\/?p=3697"},"modified":"2020-07-10T11:06:59","modified_gmt":"2020-07-10T16:06:59","slug":"get-your-files-organized-have-a-backup-plan","status":"publish","type":"post","link":"https:\/\/www.foell.org\/justin\/get-your-files-organized-have-a-backup-plan\/","title":{"rendered":"Get (your files) organized &#038; have a (backup) plan!"},"content":{"rendered":"\n<p>Suddenly I find myself trapped in my own home due to COVID-19. It&#8217;s not really a big deal because I <a href=\"https:\/\/www.foell.org\/justin\/how-to-work-from-home\/\">work from home<\/a> normally. But it has changed my weekend plans drastically. So it&#8217;s time to start tackling one of my 2020 goals:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Organizing all of our digital files and having a consistent back-up strategy.<\/p><\/blockquote>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Organization<\/h2>\n\n\n\n<p>At our house important files mostly fall into two realms: Photos and Music. Many people have at one point decided to keep all of their photos or music with a 3rd party service like Flickr or iTunes. That&#8217;s fine, but you just have to be prepared to commit to them like a marriage &#8211; except they decide all of the terms &#8211; it&#8217;s not a mutual agreement. Personally, no matter if I upload my photos to a 3rd party service, I always keep the originals on a disk in my home so I can own my own content.<\/p>\n\n\n\n<p>But this becomes an issue when everyone in your family isn&#8217;t on the same page. I have some photos on a USB drive and on my computer, and my wife has done the same on a different USB drive and computer. We need a way to have photos accessible in a consistent place, and make sure they&#8217;re getting backed-up.<\/p>\n\n\n\n<p>When it comes to shopping for a big hard drive to store all of this stuff, I&nbsp;try to find whatever is the best space-per-cost within my budget. At one point I had devised a &#8220;2&#215;100&#8221; rule: I get the biggest drive I can for $100 and consider buying two of them (for redundancy). As disk sizes increase, once a drive is available that is 2x the size of my current one for $100, I replace them. <a href=\"https:\/\/www.microcenter.com\/search\/search_results.aspx?Ntk=all&amp;sortby=match&amp;N=4294945772+38&amp;myStore=true\">Currently you can get up to 4TB drives for $100<\/a>.<\/p>\n\n\n\n<p>I bought a 4TB drive to use as network attached storage to act as our central storage place. I attached it to a Raspberry Pi using a <a href=\"https:\/\/www.microcenter.com\/product\/437776\/kingwin-superspeed-usb-30-dual-bay-sata-drive-docking-station\">USB\/SATA hard drive dock<\/a> and share it read-only over the network using <a href=\"https:\/\/www.samba.org\/\">Samba<\/a>. It shows up as a Windows-style network share on all computers and other devices like AppleTV &amp; FireTV (using <a href=\"https:\/\/www.videolan.org\/vlc\/download-appletv.html\">VLC<\/a>). For read-write access, I use <a href=\"https:\/\/www.foell.org\/justin\/cross-platform-file-sharing-with-sshfs\/\">SSHFS<\/a> so authenticated peeps can write to the disk and move files around.<\/p>\n\n\n\n<p>We&#8217;re still working on how to consistently name our photo albums, but having them in one place that gets <strong>backed up<\/strong> off-site is a big win.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Backups<\/h2>\n\n\n\n<p>I used to be an amateur network administrator. In my back-office (laundry room) I had a tower server that had 6 disk drives. A 3-disk RAID5 for backups, a 2-disk RAID0 for temporary storage (for MythTV recordings), all in swappable drive trays. Then there was one more disk hard-mounted for operating system boot-up. It worked for a while, but when I was going to have to replace the 1000-Watt power supply for the second time, I thought maybe there&#8217;s a better way. One thing I hadn&#8217;t considered before is: the more disk drives you have, the higher chance of having a drive fail &#8211; an increased chance of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Click_of_death\">click of death<\/a> was always in the back of my mind. Using one big disk with a Raspberry Pi is much simpler, smaller, and uses much less power.<\/p>\n\n\n\n<p>With all disks on-site, there is still the chance of everything getting destroyed by fire. To handle off-site backup <a href=\"https:\/\/9to5mac.com\/2017\/08\/22\/crashplan-home-being-discontinued\/\">I had used CrashPlan, but that didn&#8217;t pan out<\/a> &#8211; time to look for something different. Since we have quite the collection of different computers here &#8211; Linux, MacOS &amp; Windows, I looked for a consistent backup solution that is operating system agnostic. I wound up going with <a href=\"https:\/\/www.duplicati.com\/\">Duplicati<\/a> using <a href=\"https:\/\/www.backblaze.com\/b2\/cloud-storage.html\">Backblaze&#8217;s B2<\/a> for off-site storage.<\/p>\n\n\n\n<p>All of our computers use Duplicati independently to backup to B2. The Raspberry Pi does as well to backup our photos and music.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Setup<\/h2>\n\n\n\n<p>I&#8217;m still working out (and documenting) the details of our setup, but I&#8217;ll list the specifics of our setup here as I get to them:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.foell.org\/justin\/raspberrypi-incrediblepbx-phone-fax-nas\/\">Installing IncrediblePBX &amp; file sharing with Samba &amp; SSFS<\/a><\/li><\/ul>\n\n\n\n<p>If you have any tips or strategies you could offer, please let me know in the comments!<\/p>\n<div class='kindleWidget kindleLight' ><img decoding=\"async\" src=\"https:\/\/www.foell.org\/justin\/wp-content\/plugins\/send-to-kindle\/media\/white-15.png\" \/><span>Send to Kindle<\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>Suddenly I find myself trapped in my own home due to COVID-19. It&#8217;s not really a big deal because I work from home normally. But it has changed my weekend plans drastically. So it&#8217;s time to start tackling one of my 2020 goals: Organizing all of our digital files and having a consistent back-up strategy.&hellip; <a href=\"https:\/\/www.foell.org\/justin\/get-your-files-organized-have-a-backup-plan\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Weekend plans cancelled? Get your digital files organized create a backup plan  - all from the comfort of your home.","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,8],"tags":[172,166,152,72,141],"class_list":["post-3697","post","type-post","status-publish","format-standard","hentry","category-business","category-ubuntu","tag-duplicati","tag-linux","tag-mac","tag-raspberry-pi","tag-windows"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/comments?post=3697"}],"version-history":[{"count":8,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3697\/revisions"}],"predecessor-version":[{"id":3751,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/posts\/3697\/revisions\/3751"}],"wp:attachment":[{"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/media?parent=3697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/categories?post=3697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foell.org\/justin\/wp-json\/wp\/v2\/tags?post=3697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}