• Backup! (Bye bye TimeMachine, hello Carbon Copy Cloner)

    Executive summary:
    Stop reading, backup your computer. Done that? Let’s continue. [1]

    Second Executive summary:
    TimeMachine on my mac failed, I now use Carbon Copy Cloner.
    Yes, that cost me £26. Yes, it’s basically rsync (free opensource software I already use) but it’s easier to configure and has other useful features that I decided are worth me paying for.

    Part 1: What happened to TimeMachine.
    Part 2: How I solved it
    Part 3: Other backup options that may be better for you
    Part 4: Backup of yesteryear

    Part 1: What happened to TimeMachine.
    One of the things I liked about my mac was ‘TimeMachine’. I liked it because the old ReadyNas NV+ I use as an offsite [2] backup destination supported TimeMachine. Backup’s were easy to setup. Backup’s worked. When I bought a new hard disk for my mac, I re-installed everything from the backup over the network. Life was good.

    About 2 Months ago, My TimeMachine backups stopped. It reported a problem and that it needed to start the backups from scratch. Fine, it told me, so that’s not a problem. Except, it just wouldn’t complete a new full backup. It would get through most of the backup and then the volume (both quantity and size) of files left to backup would grow as fast as it made the backup. I cold see plenty of data being passed across the network link to the backup destination – more data traffic that data on my disk in fact, so it was doing something but never finishing.

    • I tried deleting the backup and starting again, no luck.
    • I found a dashboard widget that would provide information about TimeMachine backup – but it didn’t tell me anything useful as to why my backups wouldn’t complete.
    • I tried looking for error messages in the log files, no luck.
    • I bought an external hard drive (thinking maybe the ReadyNas or network link was the problem), no luck.
    • I resorted to an emergency backup method – I used rsync to mirror my user directory to the office network.

    The more I researched TimeMachine as a backup tool, the more I felt disappointed at the lack of capabilities it had, especially regarding feedback as to whether the backup was working.

    Part 2: How I solved it
    So, it was time to find a solution.
    Option A) rsync
    rsync is an old command line tool that can make two directories on different computers look the same. It is very efficient, only transferring files that have changed. It can be set to only send files in one direction (so deleted files remain – useful for recovering a file accidentally deleted). I already use it as one part of my backup routine for my linux servers and one of our windows desktop clients (and used to use it to backup my Windows laptop)

    I like rsync, but I hadn’t quite worked out the best settings for the mac.
    My quick get-out-of-jail backup command was
    rsync -avz --exclude 'steve/Documents/Parallels/' --exclude '*/Library/*' /Users/ rsync://backup5.rkbb.co.uk/mac_rsync
    I’ve been running that by hand every couple of days. You can see;
    -avz in the command means ‘archive’ the files, ‘verify’ the files and ‘zip compress’ the transfer.
    –exclude are things i don’t want to sync, my Parallels virtual machines and the Library. There are things in the library that may be worth keeping (I think “Notes” may save there, and “Mail” does but I have all that on my gmail)
    /Users/ is the directory I want to mirror from my machine and
    rsync://backup5.rkbb.co.uk/mac_rsync is the rsync daemon on the backup server, into the direcotry mac_rsync.
    This isn’t ideal. It doesn’t backup the applications and it backs up unnecessary files like .DS_Store which the mac will create when it needs them.

    Whilst looking for examples of rsync backup scripts for Mac, I discovered Carbon Copy Cloner.

    Option B) Carbon Copy Cloner
    Carbon Copy Cloner is an application that can back up your mac. I gather it uses rsync behind the scenes, but it has some neat wizardry that makes it very simple to use.
    1) It can make a bootable clone – which means if you need to recover your whole mac, it’s ready to go. I think that means you can even plug your clone into another mac and run from there. I could see that being very useful if I was travelling to friends and wanted to take my mac software with me, but use their mac so I could travel light.
    2) It can be easily set to run automatically. 09:40am for me, it starts and backups up. If the backup disk isn’t available (like, I’m not in the office), it will tell me and let me choose to delay or try again (in case I just need to plug the disk in).
    3) It will work on any disk.  If you have a HFS+ formatted disk (apple) it can do more like make it a bootable clone, but if you’ve just got a simple shared directory on a file server it will happily backup your files to that.
    4) It means I didn’t have to work out exactly what was worth backing up and what I could ignore.

    It does cost £26 but for a one off cost and piece of mind I’m happy to pay that.   Just think, if I’d have known about Carbon Copy Cloner sooner I probably wouldn’t have spent £269 on a big external hard disk.

    Summary:
    If your TimeMachine backups are working for you, great, keep it going.
    If they’re not then I suggest you try the free trial of Carbon Copy Cloner.

    Part 3: Other backup options that may be better for you
    I didn’t use it for my Mac, but for the other family PC’s I use ‘CrashPlan‘. It’s a web based, off site backup service. I think it’s a great solution for many people, but not for me and my mac. I have too much on the disk and it would take too long to backup over the internet (lots of files change frequently, more so now we’re playing with video) and more importantly I HAVE OFF SITE BACKUP ALREADY!  If you don’t have off site backup, you should seriously consider CrashPlan or one of the many other online backup services.

    To put that in context I put all the people I care about on my family CrashPlan account. My daughters laptop uses CrashPlan, my parents laptop uses CrashPlan, my sister in Australia uses CrashPlan.

    It has one other neat cost saving feature. If you have a friend who always has their computer on, and you always have your computer on, you can backup to each other over the internet for free. You can’t see each others files as they are encrypted but at least you don’t have to pay the monthly fee.

    Part 4: Backup of yesteryear

    Thinking of backup reminds me of being 16 years old with our first home computer.  A Pentium 486 from Gateway 2000 if I remember correctly. I used to do backups on a Travan TR-1 tape drive.  I also remembering trying to improve the PC performance by tweaking software settings, breaking it, then spending all night and into the early hours restoring from the tape backup.  Here’s hoping I have no need for any more late night/early hour data recovery missions.

    [1] I hope you have a current backup if you have anything on your computer you’d like to keep
    [2] A backup must be off site to be a backup. What if your house burnt down? What if your computer was stolen along with the backup disk sitting next to it? Offsite for me is backing up home to work


  • IBM need help with statistics

    Look at this infographic

    The way I read this, before and after were the same.
    The way I read this, before and after were the same.

    So,”Stockholm convinced the skeptics to pay for a faster commute.”?

    I’m assuming that means pay for an IBM traffic management system as I’m not exactly sure what was being paid for.  I’m don’t I agree the skeptics were convinced though from reading their infographic. The two key bits of data to prove their point are: “Before: Over 50% say no.  After: Over 50% say yes”

    Now, I’m not a statistical genius, but I don’t imagine they’re doing too much rounding on these numbers.  If 60% said no, I’m sure they’d have told us. If 55% said no, I’m sure they’d have told us.  We don’t know how accurate their data is either, did they ask everyone or try for a representative survey?  They may be out by 10% anyway (let’s hope not).  To keep it clearly written,  let’s replace the word “Over” with “About”. Does that sound reasonable? Well it does to me so let’s do it.

    Now let’s put the ‘after’ into the same context as the ‘before’. As “Over 50% said yes”, that’s the equivalent of “Under 50% said no”, or replacing Over/Under with About, that’s the equivalent of “About 50% said no”  Let’s rewrite their phrase:

    Before: About 50% say no.  After: About 50% say no.

    At least, that’s how I read it, but maybe it’s me that needs the help with statistics.


  • Gandi said thanks 🙂

    gandi_tshirtWhat a lovely surprise! A T-shirt arrived in the post from the folks at Gandi.net

    Gandi are the company that provide all my domain names and server hosting for work and play, including the hardware behind this blog.  I’ve been using them since 2009 and they’ve always super.  If you need domain names or hosting, I can recommend them with confidence.

    They are always improving things and the side effect is small errors on the web site admin interface. Mostly, that means they’ve forgotten to translate a French word into English (eg, it displays Serveur instead of Server).  One of the recent improvements to their web site was to allow a table of information to show how much memory each of my servers was allocated, but it was showing the maximum amount that could be allocated.  A small error, but as always I sent an email with the details.  Not only did they fix it and say thanks, they sent me a Gandi T-shirt in the post.  Nice 🙂

    Speaking of Gandi, they are always improving things.  Today, I’ve just been switched to their new IaaS platform (Infrastructure as a Service).  The previous platform style was to have VPS (Virtual Private Server) shares.  So my one rackspace dedicated server back in 2009 became 8 Shares of their VPS platform (actually, the VPS had more power, but could be scaled up and down on demand).  Over time they’ve increased the power. Couple that with some software improvements to my web sites and yesterday I was running on 2 VPS shares (which I had set as two servers) with a little extra memory as an extra and a ‘SimpleHost’ instance. Hosting is a lot cheaper today then I when I first moved to Gandi.

    The new IaaS allows a more fine grained control of the resources allocated to my virtual servers. On the old platform if I needed more than one processor it would have to come with more disk space. Now I can just allocate more processors, or more memory, or more disk, all independently. The change also means they’ll be charging me less for the same resource as before.  So it’s still a virtual server, it just costs less.

    The other new feature is a ‘web accelerator’. I haven’t played with this yet, but I think it will work like a Varnish Cache in front of my servers so that pages can be delivered faster with no alteration to the servers themselves. That will also mean I can reduce the power of the server and save more money.

    This blog is hosted on the ‘SimpleHost’ platform they offer and has been since November last year. Essentially that’s a virtual server that they set up and control and has a lot of restrictions on what software will run on it, which version, and so on.  Its other restriction is that it can only process two simultaneous requests at a time (on the cheapest package that I have) but that really isn’t a problem. As the pages don’t change very often, the built in varnish cache has probably delivered the page your reading so the server never even got the request, and there’s no limit or delay in responses from the cache. Here’s a quick fact: In the last hour 73% of the requests that reached the server were robots or spammers trying to post. Even then, there are nowhere near enough of these to block both processes to real users.  I have other web sites on the simplehost server as well as this blog (just like you would a virtual server) and for the simple sites simplehost is great.

     


Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories