Archive for January, 2010

Easy backup to USB drive in Linux

Tue, 05 Jan 2010 15:32:22 +0000

After a super-fun episode in which Ubuntu’s Simple Backup didn’t restore successfully after a hard drive failure, I went searching for a better solution to back up my /home directory to a (1.5 TB w00t!) external USB hard drive.

I found this lovely solution using rsync.  It’s worth reading the whole page if you don’t know how hard links work in *nix, but basically the solution has four backup slots, which get moved by one in the queue every backup, and if the files haven’t changed across all four, there’s only one copy of the files, because everything is done with ln.  And the most recent backup is always the full backup, which is ridiculously cool.

Here’s the whole thing:

rm -rf backup.3
mv backup.2 backup.3
mv backup.1 backup.2
cp -al backup.0 backup.1
rsync -a --delete source_directory/  backup.0/

Careful with the trailing slashes: include them where included, omit them where omitted.  The “backup.2″ would really look like “/media/disk/backup/backup.2″ or whatever, and “source_directory/” would really look like “/home/you/”, but you can fill those in.

I put those five lines in a script called backup.sh, chmodded it +x, and put the following line in my crontab:

00 04 * * * /home/joshua/bin/backup.sh

And — yeah — that’s it.  Awesome.  Now all I need is a second, larger hard drive to backup the first backup drive.  (“Big fleas … little fleas … ad infinitum“)

My recycled tweets for 2010-01-05

Tue, 05 Jan 2010 01:59:00 +0000
  • Do they make gel #icepacks that are roughly, say, [measures bottom of #laptop] 16" x 12" (40cm x 30cm)? #cooling #
  • #Google #Chrome is now available for #Linux. I've found keeping it open and maximized as an Alt-Tab target, displaying #iGoogle, is AWESOME. #
  • Here's the #GoogleChrome link for Linux: http://bit.ly/7jNaYm #Google Chrome. Seriously, I use it just as an #iGoogle app. AWESOME. #
  • It is inexcusable that one can't globally block apps from stealing focus in #Gnome. If I'm wrong, please respond. #linux #
  • "Inbox zero"?  Not a chance!  But I just got my unread count under 3700! #
  • #MM #MusicMonday @PearlJam "Unthought Known"; #Frente! "Labour of Love"; #Queensryche "I Am I"; one more that I'm forgetting #

Powered by Twitter Tools

Maybe it’s just that they hate how liberal Starbucks is?

Mon, 04 Jan 2010 00:05:11 +0000

Surely I’m late to this mockery — it’s only recently come on my radar — but the GOP is rallying people behind the term “Tea Party”.  That they’re the new “Boston Tea Party”.

Seriously.  What The Fuck?

If I remember my history correctly, the Boston Tea Party was the name given to a gang of citizens who protested against taxation by dressing up like a racial minority, trespassing on the property of big business, looting, and then destroying the looted material.

The Republicans have a name for this sort of person, and it’s not “Republican” or “Patriot”.  It’s “Terrorist”.  Seriously: if a bunch of smokers disguised themselves, broke into a Philip Morris distribution warehouse, stole all the cigarettes, and burned them in the streets as protest, what would the Republicans say about them?  That they’re heroes fighting against usurious tobacco taxes?  Or that they’re “with the enemy”?  Granted, the Repubs would be likely to blame the “fisco-terrorism” on racial minorities regardless of the costumes, so that much tracks.

It’s fucking surreal.  It takes me back to Hillary “cleaning blood off the floor”.

But read Beardy well: the Republicans were looking this absurd right before they swept both houses of Congress, that time also with the help of Rush Limbaugh.  Booga booga.  but seriously, wtf?

My recycled tweets for 2010-01-03

Sun, 03 Jan 2010 01:59:00 +0000

Powered by Twitter Tools

My recycled tweets for 2010-01-02

Sat, 02 Jan 2010 01:59:00 +0000
  • Exactly four weeks until After Dark Horrorfest 4! W00t! #horror @afterdarkfilms #
  • Oh, THERE'S #WilWheaton! @wilw I'm the 1,588,315th follower. #
  • #GoDaddy account servers ("mya" and "dcc") haven't logged me in for >1wk. No email resp. If someone there is monitoring the hashtag: help? #
  • Solved the #GoDaddy thing. #IPBlock blacklists their servers. Smart, as hygiene goes. Not helpful when trying to transfer your domains away. #
  • Good grief, is #UnthoughtKnown ever a sleeper fave for me on #PearlJam's #BackSpacer. Wow, what a song. #music #
  • RT @PearlJam #PearlJam iPhone App [...] http://bit.ly/8Sk4wz ←Gah, really, guys?! iPhone app? Does it tie into @Ticketmaster on the backend? #
  • .@joshuaj7 By my [computer's] count, 152 unique #PearlJam songs in 33 2009 shows, counting all four "Untitled"s as one. You're welcome. ;-)  #
  • RT @ThinkAtheist Politicians of both parties should be called Self-Servatives←Wow. You're going with that? Way to start the year off clever. #
  • Willing to draw a cartoon critical of Islam? Good moral call. Then getting a panic room installed? Good practical call. http://bit.ly/632dnb #

Powered by Twitter Tools

There’s a whole generation in there

Fri, 01 Jan 2010 21:10:32 +0000

So, I turned 31 a few weeks ago — but it wasn’t today until a site reminded me of the (n/2)+7 dating-age-eligibility calculation.  It’s — 22 to 48 now.

That means that there are plenty of college grad women out there, each one of whom I could date — or date her mom.  And mom could comfortably have had a Master’s degree when daughter was born.

I think … either the law breaks down somewhere, or I’m going to have to come to terms with the creepiness of that.

My recycled tweets for 2010-01-01

Fri, 01 Jan 2010 01:59:00 +0000
  • To prepare it for a late-night partaking, I just decanted the red #wine. Into a washed McDonald's large drink cup. /ghetto #
  • @jasonfasi @nickmote Re-ping: do you know the name of the C. sinensis tea(s) at WHF they pimp as weight-loss? A (skinny) friend wants 2 know #
  • #In2010? "Buy nothing new" again? Almost in 2009! Not ready for "freegan everything". Brother's is "page a day, no matter what" [Also good] #
  • Me, #10YearsAgo? STILL DOCUMENTED. Infinite Internet memory anyone? http://bit.ly/7i0Erm #y2k #wheresgeorge #
  • Thought just now: well, I might as well check my email while I wait for my network connection to come back up. #

Powered by Twitter Tools