Backup 8.04 / Upgrade 8.10

Discussion in 'Linux' started by picasso, Oct 3, 2008.

  1. picasso

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    Hi,

    i would like to give 8.10 a try, now that the beta1 is out. Can i upgrade from 8.04 with liveUSB? How can i safely backup my fine functioning 8.04? Thanx
     
    picasso, Oct 3, 2008
    #1
  2. picasso

    RockDoctor

    Joined:
    Aug 21, 2008
    Messages:
    963
    Likes Received:
    0
    Location:
    Minnesota, USA
    1. You can't upgrade via liveUSB; installation from the liveUSB writes a new filesystem image to your disk obliterating the old one.

    2. Safe backup method #1:
    Boot from a liveUSB that contains an appropriate backup program and use it. Will probably take a snapshot of your install; restoration do a complete overwrite as in #1.

    3. Less safe but less space-filling backup:
    Copy the contents of /home and /etc to a safe place. You can restore by reinstalling Ubuntu-8.04 and any extra programs you installed, then copy /etc/and /home over to the restored U-8.04 to get back your settings. Works more than 95% of the time for me on my desktop PC.

    4. Even less safe but probably doable:
    Upgrade via apt (or synaptic). Edit /etc/apt/sources.list replacing "hardy" with "intrepid". I do this all the time - sometimes it works well, other times it doesn't. Depends on what changes were made between releases.
     
    RockDoctor, Oct 3, 2008
    #2
  3. picasso

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    Thx, that is quite a detailes information. Is there a good backup program on board? Or just dd?
     
    picasso, Oct 3, 2008
    #3
  4. picasso

    mh-

    Joined:
    Sep 22, 2008
    Messages:
    39
    Likes Received:
    0
    I'd go with dd, the SSD is only 8gigs after all, and since you can mount the image on a loopback it's easy to check old configs and whatnot...

    In case someone reading this isn't too familiar with dd, you can dump the image over the network to some other un*x box by running something along the lines of:

    dd if=/dev/sda bs=4096 | ssh user@host dd of=/path/to/file/sda.img bs=4096
     
    mh-, Oct 4, 2008
    #4
  5. picasso

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    Do i have to use the dd commnad with "count=1" (boot sector)? Is a 8gb usb stick ok for backup? Is unmounting of the SDD necessary? Has anyone used this method #4 for update via apt? Thx again....
     
    picasso, Oct 5, 2008
    #5
  6. picasso

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    If you want you can follow the instructions on my blog as to how to prepare an 8GB flash key to do backups of the AA0. A full backup will do a dd copy to a gz file on your flash key. Look here for instructions and to download the image file you'll need to "burn" your 8GB flash key ...

    http://customdesignlinuxblog.blogspot.com/

    Cheers.
     
    rbil, Oct 6, 2008
    #6
  7. picasso

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    hey, thank you!
     
    picasso, Oct 6, 2008
    #7
  8. picasso

    hombrelobo

    Joined:
    Aug 21, 2008
    Messages:
    14
    Likes Received:
    0
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.