Backups and Distro Upgrading

tl;dr; I don’t recommend using Déjà Dup to hold your data when you upgrade distros (e.g. from Ubuntu 11.04 to 11.10) without understanding the risks.

I’m the maintainer of the Déjà Dup backup tool that will be included by default in Ubuntu 11.10. So I’m generally biased in its favor. But I am also a cautious person.

My concern stems from the fact that Déjà Dup uses an opaque backup format [1]. Which means that it does not store your data in plain files that you can just copy back into place with the file manager. You’ll need to use Déjà Dup again to restore them [2]. Which is fine if Déjà Dup is working correctly, as it should.

But just from a risk management perspective, I always recommend that people try to have at least one copy of their data in “plain files” format at all times.

So if you back up with Déjà Dup, then wipe your disk to put Ubuntu 11.10 on there, you’re temporarily going down to zero “plain file” copies of your data. And if anything should go wrong with Déjà Dup, you’ll be very sad.

Here are a few recommended ways to upgrade:

  • Use the Ubuntu CD’s built-in upgrade support. It will leave your personal files alone, but upgrade the rest of the system.
  • Use the Update Manager to upgrade your machine. Again, this will leave all your personal files in place.
  • Copy your files to an external hard drive with your file manager and copy them back after install.

In my mind, a backup system’s primary use case is disaster recovery, where going down to zero “plain file” copies of your data is unintentional and an acceptable risk. Intentionally reducing yourself to zero copies seems unnecessary.

Hopefully, all this caution is overblown. I just want people to be aware of the risks.

[1] Déjà Dup uses an opaque format to support a feature set that just can’t be done with plain files:

  • Encryption
  • Compression
  • Incremental backups
  • Assuming little about the backup location (allowing cloud backups)
  • Supporting file permissions, even when backing up to locations that don’t

[2] There are technically ways to recover without going through the Déjà Dup interface. They just aren’t very user-friendly.

68 thoughts on “Backups and Distro Upgrading

  1. I think this is one of the most important info for me.
    And i’m glad reading your article. But should remark on some general things, The website style is perfect,
    the articles is really excellent : D. Good job, cheers

  2. Since the admin of this site is working, no hesitation very soon
    it will be renowned, due to its feature contents.

    Feel free to visit my blog post – vippi (Katherin)

  3. Its such as you learn my thoughts! You seem to know
    so much about this, such as you wrote the guide in it or something.
    I believe that you just could do with some % to pressure the message house a bit, but instead of that,
    this is great blog. A fantastic read. I’ll definitely be back.

  4. I really like your blog.. very nice colors &
    theme. Did you make this website yourself or did
    you hire someone to do it for you? Plz reply as I’m looking to create my
    own blog and would like to know where u got this from. thanks a lot

    my web blog – metabolic cooking recipes (Donette)

  5. The Elevation Team is a economical and financial commitment
    schooling based mostly membership group produced by Mike Dillard.

    Costs to the lawyer are one% of the benefit of the assets.
    And when we talk about houses in the millions of pounds this is not a thing to be sneezed at.

    my web page online real estate appraisals – Evan,

  6. Have you ever thought about including a little bit more than just
    your articles? I mean, what you say is fundamental and everything.

    Nevertheless think about if you added some great pictures or videos to give your posts more, “pop”!

    Your content is excellent but with images and clips, this website could certainly
    be one of the very best in its field. Excellent blog!

    Visit my site: the cruise control diet

  7. At this time it looks like BlogEngine is the best blogging platform out there right now.
    (from what I’ve read) Is that what you’re using on your blog?

  8. I’d like to thank you for the efforts you have put in writing this website.
    I’m hoping to see the same high-grade blog posts from you later
    on as well. In fact, your creative writing abilities has inspired
    me to get my own blog now ;)

  9. Additionally, these topical administrations help the re-growth after
    the surgery. Encouraging Growth of Hair – If you are trying to regrow hair then you will need to look for
    DHT inhibitors and growth phase activators, present in many topical solutions.

    And this is exactly what the best natural hair growth products
    aim at doing.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>