Dear Lazyweb, and also a certain you-know-who-you-are who should certainly know better by now,
I am here to tell you about backups. It's very simple.
Option 1: Learn not to care about your data. Don't save any old email, use a film camera, and only listen to physical CDs and not MP3s. If you have no posessions, you have nothing to lose.
Option 2 goes like this:
You have a computer. It came with a hard drive in it. Go buy two more drives of the same size or larger. If the drive in your computer is SATA2, get SATA2. If it's a 2.5" laptop drive, get two of those. Brand doesn't matter, but physical measurements and connectors should match.
Get external enclosures for both of them. The enclosures are under $30.
Put one of these drives in its enclosure on your desk. Name it something clever like "Backup". If you are using a Mac, the command you use to back up is this:
sudo rsync -vax --delete --ignore-errors / /Volumes/Backup/
If you're using Linux, it's something a lot like that. If you're using Windows, go fuck yourself.
If your version of rsync supports the --xattrs
and --acls options (it probably does), use those too.
If you have a desktop computer, have this happen every morning at 5AM by creating a temporary text file containing this line:
0 5 * * * rsync -vax --delete --ignore-errors / /Volumes/Backup/
and then doing sudo crontab -u root that-file
If you have a laptop, do that before you go to bed. Really. Every night when you plug your laptop in to charge.
If you're on a Mac, that backup drive will be bootable. That means that when (WHEN) your internal drive scorches itself, you can just take your backup drive and put it in your computer and go. This is nice.
When (WHEN) your backup drive goes bad, which you will notice because your last backup failed, replace it immediately. This is your number one priority. Don't wait until the weekend when you have time, do it now, before you so much as touch your computer again. Do it before goddamned breakfast. The universe tends toward maximum irony. Don't push it.
That third drive? Do a backup onto it the same way, then take that to your office and lock it in a desk. Every few months, bring it home, do a backup, and immediately take it away again. This is your "my house burned down" backup.
"OMG, three drives is so expensive! That sounds like a hassle!" Shut up. I know things. You will listen to me. Do it anyway.
Update: Mac users: for the backup drive to be bootable, you need to do two things:
When you partition the drive, use GUID, not Apple Partition Map;
Get Info on the drive and un-check "Ignore ownership on this drive" under "Ownership and permissions."
You can test whether it's bootable by holding down Option while booting and selecting the external drive.
Dear Lazyweb, how do I turn on verbose boot permanently on an Intel iMac? (No, I don't want to hold down Cmd-V every time.)
On PPC Macs, the incantation was nvram boot-args="-v" but the Intel Macs don't have the same NVRAM variables.
Update: Hey, what do you know, it's the same command on Intel Macs, even though "boot-args" isn't there by default.
Dear Lazyweb, think twice before upgrading to Missing Sync 6.0.1.
I upgraded from 5.1.2 to 6.0.1 primarily because I wanted the new "SMS Log" app that archives the SMSes on your phone in a readable, searchable way.
However, they also replaced the "MemoPad" application with a new "Notes" application. Unfortunately, the new one is <LJ-CUT TEXT="full of bugs."> full of bugs:
- If you have (say) 5 "notes" pages on your Palm, and you've edited a single character in one of them, then when you sync, you get a warning dialog about how "more than 5% of your data has changed". Because 1 note is more than 5% of 5 notes, you see. The only way around this is to change the sync settings globally to never give that warning for anything. Which is, you know, bad.
It re-orders your notes pages randomly every time you sync.
If you change a note on the Palm, sync, then launch the "Notes" app, your change isn't there. You have to quit and restart "Notes" a second time for it to show up. Their support goons had the audacity to call this intended behavior.
So, don't buy that upgrade. But if you do, it's possible to continue using the "MemoPad" application from version 5 with the rest of version 6: <LJ-CUT TEXT="Like so.">
- Run the Missing Sync 6 uninstaller.
- Run the Missing Sync 5 installer.
- Just force-quit the installer instead of rebooting.
- copy /Library/Application Support/Palm HotSync/Conduits/ MarkSpaceMemoPadConduit.plugin to your Desktop.
- copy /Applications/Missing Sync for Palm OS/Mark:Space MemoPad.app to your Desktop.
- Run the Missing Sync 5 uninstaller.
- Run the Missing Sync 6 installer (don't reboot yet).
- Move "Mark:Space MemoPad.app" back to /Applications/
- Move "MarkSpaceMemoPadConduit.plugin" back to /Library/Application Support/Palm HotSync/Conduits/
- Now let the installer reboot (maybe you don't need to do this, I'm not sure).
- Launch MissingSync and check the "MemoPad" conduit and un-check the "Notes" conduit.
Ok, but now you might find that the "Photos" conduit doesn't work any more. <LJ-CUT TEXT="So then..."> Apparently the MemoPad conduit from v5 interferes with it somehow. You can work around that by forcing the "MemoPad" conduit to run last. Edit /Library/Application Support/Palm HotSync/Conduits/MarkSpaceMemoPadConduit.plugin/ Contents/Resources/English.lproj/ConduitInfo.plist and change "Priority" from "3" to "2".
There, wasn't that simple?
Let that be a lesson to you: never upgrade.
"I Am So Funny:
My brief and wondrous career at The Daily Show consisted of making jokes about the Amish and trying to get Jon Stewart to love me."
DNA Lounge updatelet
, wherein you find evidence of fat men and rabbits.
Dear Lazyweb, here are two unrelated questions:
- What's a command-line MacOS way to extract iTunes metadata from a MOV file (e.g., "Title", "Artist", "Year")? The Perl modules MP4::Info and Audio::M4P::QuickTime and AtomicParsley will extract such metadata from MP4 files, but none of them work on the QuickTime container.
Update: 'mdls' seems to be the simplest answer to this for MOV files (but not MP4 files, for which MP4::Info works ok.)
I put an extension on the cable of my cellphone booster, because a better spot for the antenna was a bit farther away than the 100' piece of coax that it came with. However, this seems to have made matters worse instead of better. In my experience in the past, all coax is more-or-less created equal, but maybe that's not the case when it comes to the frequencies involved here. What kind of cable should I be using for this?
Update: I replaced it with a single run of RG-6/U quad shield ("Belden 7916A"), and it works a lot better. So either I had a crappy cable in there, or connecting two cables together was a bad idea.