After the previous article explaining the principles behind this form of "safe" cloud backup, here a step-by-step tutorial on how to make it work. The software used and the commands issued are all for Ubuntu, but you should be able to translate them into any modern Linux variant. On the other hand, much of the infrastructure required works only on Linux.
Aside from the obvious (a modern version of Linux), you will need a series of tools that don't come installed standard. First the actual commands, then an explanation:
sudo apt-get install mdadm lvm2 cryptsetup-bin
We are installing three packages:
mdadm: the package to control RAID arrays. From the description: "tool to administer Linux MD arrays (software RAID) The mdadm utility can be used to create, manage, and monitor MD (multi-disk) arrays for software RAID or multipath I/O."
lvm2: the package required for logical volume management, allowing us to resize after creation. "This is LVM2, the rewrite of The Linux Logical Volume Manager. LVM supports enterprise level volume management of disk and disk subsystems by grouping arbitrary disks into volume groups. The total capacity of volume groups can be allocated to logical volumes, which are accessed as regular block devices."
cryptsetup-bin: the package to encrypt the data. Technically, this is just a utility to manage the process, while the Linux kernel does the actual encryption, but to us it's the same thing. "Cryptsetup provides an interface for configuring encryption on block devices (such as /home or swap partitions), using the Linux kernel device mapper target dm-crypt. It features integrated Linux Unified Key Setup (LUKS) support."
Here is my problem: when I travel, I want to have access to my most important documents (like my passport, or my drivers license, or the airline tickets, or a bunch of other things). I want to have access to those documents particularly if I lose my computer and the originals. Imagine I am in Fiji on a surf trip (I wish!) and my everything gets stolen while i conquer Cloudbreak. I come out, have nothing, and have nothing to prove that I once had something.
I could store documents online, of course. But then I have to deal with security issues. What if someone gains access while I am not watching? Can I trust the company that stores them to do so securely? What if the company runs out of business? What if a hacker locks me out of my account, and I have no way to get back access?
Also, once I come up with a system that stores my emergency documents safely and securely, what about non-emergency documents? Can I find a system that stores things securely and safely, but can be updated constantly? Is there a way to have files saved online that doesn't jeopardize their integrity?
I figured out the way, and now I am replicating my sensitive documents online, trusting my experience and not any company's promise. And this article is a howto on how you can do so, too.
On the most fundamental level, I started with file synchronization tools like Dropbox. In case you don't know how that works, you essentially create an account with a company (say, Dropbox). Then you designate a folder to be synchronized. From then on, dropbox (the driver software) will copy all files in that folder to the Dropbox account, and vice versa.
When I moved to America, back in the ancient days, my friends tried to dissuade me. "Don't move!" they'd say, "You won't like it!"
I asked why, and the replies were scattered. There was a cluster of "Americans are so shallow!" in the mix, but mostly it was about trivialities like, "Their bread is terrible," or "You can't ride your bike anywhere." My friends clearly had no idea of what life in America is like.
Then I moved, and I saw the opposite situation: Americans generally don't know much about other pleaces, peoples, and cultures. So, when asked, "What's so great about America?" they sometimes fail to find a workable answer, because they don't really know where, when, and why America is different.
Having bridged the gap, I found that America is really different and better than the culture from which I moved. But the reasons it is so are not the reasons either side of the divide would enumerate. And that's very sad, especially for America, because not knowing what sets you apart makes you likely to abandon those distinctions. So here, for you, my summary, in hopes it might lead to more awareness. In a separate post I might write about the misconceptions that exist.
1. Americans are fundamentally honest. Yes, I know, there are lots of crooks here. Even if the news were not full of reports of crooked politicians, CEOs, companies, etc. you'd evince that from the simple fact that America has the largest prison population of any nation on planet Earth.
It was easy to dismiss Apple when Steve Jobs took back the reins in 1997. It seemed for a while that the company's only reason for existence was as a fig leaf, allowing Microsoft to claim Windows was not a monopoly. Redmond even bought a substantial amount of Apple stock, maybe as a gesture of support.
But Steve Jobs turned the company around completely. First, he decided the fundamental question: software or hardware? Software was going to be the ticket, from now on. Apple would buy off-the-shelf components to create best-of-breed hardware, but the focus was going to be on functionality and integration, not on capabilities and differentiation.
2001 was the landmark year. Jobs presented the iPod, the world's first decent digital music player. Better than just that, Jobs presented an entirely new business: the $0.99 song. He had successfully found the weak spot of the music industry, caught between its old (and cheating) ways of bundling crappy songs with good ones ("albums") to upsell, and the new ways of consumers to ignore paying altogether ("Napster").
In that sweet spot, he created a revolution. Around that same time, Google revolutionized advertising and Amazon selling. It was a good time for the Internet.
I confess I had an itch. Even in my dual monitor setup, I never seemed to have enough visual real estate. If I had the Android development UI full screen on one side and the emulator on the other, it took only a single konsole shell to fill up everything I had. Then I was left without space for instant messaging, writing, emailing, etc.
It's common year 2014. There are 10 inch tablets with 2560x1600 resolution (Google's Nexus 10 and Amazon's Kindle Fire HDX 8.9"). Why shouldn't there be a monitor with a resolution higher than that? I mean, what's the point of having a 30 inch screen if it displays exactly as many pixels as your 10 inch tablet?
There was a deal. While early 4k TVs were freaky expensive (in the tens out thousands of dollars!), Samsung had a relative steal available for $799. Then the price went down to $699. Then one day Amazon had a sale, and it was available for $599. I took it immediately, not asking any questions.
When the monitor arrived, it was a mixed bag. The bezel is small, so there is just a ton of screen. Also, the monitor comes both with two HDMI ports and one DisplayPort. Tons of connectivity.
First the assembly. To my horror, the stand on which the monitor rests is fixed, which means that you can't change the inclination from perfectly straight up. That's a bit of a bummer, because the screen is so large, you'd want it to tilt a little.
- Up and Down the West Coast: Seeking Fresh Powder Edition
- I HEART Janet Reid, but She's Dangerous
- Following the Pineapple Express to Mammoth with a Mountain Collective Pass
- Living With the Puck: StraightTalk Unimax U240C Reviewed
- L'America: The 411 on Thanksgiving
- Fixing KSnapshot Quirks - and Programming the Linux Shell in the Process
- L'America: What's the Nuclear Option in the Senate
- Chinavasion Rear View Mirror Device
- Nexus 5 - First Look
- Keep Your Data Safe: Cloud RAIDs