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.

131 thoughts on “Backups and Distro Upgrading

  1. Hi there excellent website! Does running a blog similar to this require a great deal of work?
    I have absolutely no knowledge of computer programming however I was hoping to start
    my own blog soon. Anyway, should you have any recommendations or techniques for new
    blog owners please share. I know this is off topic however I simply wanted to ask.
    Thanks a lot!

  2. Somebody necessarily help to make seriously posts I
    might state. This is the first time I frequented your
    website page and so far? I surprised with the analysis you made to create this actual post extraordinary.
    Great job!

  3. It’s not that Deja Dup / duplicity is the worst backup software ever. It’s that Canonical made Deja Dup automatically start after Ubuntu was installed and automatically prompt the user to run it. Maintainers of the software send out warnings in some remote blog while the Deja Dup application does not warn about issues. If someone were to take this to court how would a “no warranty…” disclaimer hold up when the manufacturer took so many steps to actively encourage people to use the software combined with the manufacturer not presenting warnings about issues?

    Searching the web will reveal that many people have had to resort to emergency recovery procedures. How many fewer would have had to suffer through all of that if this half-baked backup program had not been promoted so much?

  4. You’re so cool! I don’t think I have read a single thing like that
    before. So great to find another person with a few unique
    thoughts on this subject. Seriously.. many thanks for starting this up.
    This site is one thing that is needed on the internet, someone with a little originality!

  5. It’s truly very complicated in this full of activity life to listen news on Television, thus I only use the web for that purpose,
    and take the newest information.

  6. I like the valuable information you provide in your articles.
    I’ll bookmark your weblog and take a look at once more right here regularly.
    I am relatively certain I will be told many new stuff right right here!
    Good luck for the next!

  7. What’s up to all, as I am really eager of reading this website’s post to be updated daily.
    It carries good material.

  8. It has lasted so many years before it was officially out of air.

    The free plan does not give you full access to
    the database or all its features, but is useful for the home gardener.

    These insects can be encouraged to stay by having diverse plants in your

    Have a look at my weblog: boyfriend back [Alphonse]

  9. It’s appropriate time to make a few plans for the long run and it is time to be
    happy. I’ve read this submit and if I may just I wish to
    suggest you some attention-grabbing things or tips.
    Perhaps you can write subsequent articles referring to this article.
    I wish to learn even more things approximately it!

  10. When someone writes an article he/she retains the idea of a user in his/her mind that how a user can be aware
    of it. Therefore that’s why this piece of writing is
    outstdanding. Thanks!

  11. 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 respond as I’m looking to create my own blog and would like to
    know where u got this from. many thanks

  12. Heya i’m for the first time here. I came across this board and I
    find It really useful & it helped me out a
    lot. I hope to give something back and help others like you aided me.

  13. This design is spectacular! You definitely know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job.

    I really loved what you had to say, and more than that,
    how you presented it. Too cool!

  14. I was extremely pleased to find this page. I wanted to
    thank you for your time just for this fantastic read!!

    I definitely savored every part of it and i also have you bookmarked to look at new things on your web site.

  15. From the moment these moncoque blocks initially appeared on shop
    shelves they have been in the crosshairs of any kid that wants to be trendy.

    Now all you should do is try to find a way to convey
    them, right. For the more adventurous you could try making
    heart shaped cookies or cakes. ‘ Create barriers with trenches around your barns and other buildings on your property.
    This mane is artfully colored with yarn in blues, greens, oranges,
    pinks and more.

    Take a look at my blog :: funny and cute animal pictures

  16. My brother recommended I might like this web site. He used to be entirely right.

    This submit truly made my day. You can not consider just how a lot
    time I had spent for this info! Thank you!

    My website – low carb recipes (Lenard)

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>