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.

157 thoughts on “Backups and Distro Upgrading

  1. Neat blog! Is your theme custom made or did you download it from somewhere?

    A theme like yours with a few simple adjustements would really
    make my blog jump out. Please let me know where you got
    your design. Many thanks

  2. Whether you’re a business or personal brand, you should definitely pay attention to Pinterest.
    The following are four prime reasons why you should be using
    Pinterest, including examples of practical applications:.
    It’s not always easy, but if the material is for
    something truly important, it’s the wisest step to take.

  3. Previously, when you upgraded a cars performance, you had a choice of three
    basic packages, all the same price, which modified the car’s handling,
    speed and accelaration. It’s just for show, a pose, but you
    know if he truly connected with a fastball, it would ignite and disintegrate before it left the field.
    The voice cast is pretty top notch as well as Shiroe is being played by seiyuu Takuma Terashima,
    best known for his work on Aquarion as Apollo.

  4. You and your wife-to-be may be running short of money and are therefore in need of some financial assistance.
    An advantage that you can have with this service is to have your own web site.
    75 daily pool passes have been allowed for Jockey Club owners
    and guests to use on the main Bamboo pool and sun veranda area of the Cosmo
    as well as the two Jockey Club tennis courts that are moved to the Cosmo roof top.

  5. I just couldn’t leave your web site prior to
    suggesting that I really loved the usual information an individual supply on your guests?
    Is going to be back regularly to check out new posts

  6. Extra liquid may be necessary to make sure the texture stays the same.
    an affirmative defense that the plaintiff cannot receive compensation for injuries from
    the defendant because the plaintiff freely and knowingly assumed the risk of injury
    and relieved the defendant of the obligation to act with
    reasonable care. Broadly speaking, all of these reasons can be classified under either the heading “personal” or the heading “commercial”.

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>