Full backup with dd and gzip

Discussion in 'Linux' started by hombrelobo, Oct 6, 2008.

  1. hombrelobo

    hombrelobo

    Joined:
    Aug 21, 2008
    Messages:
    14
    Likes Received:
    0
    For a full backup of the Acer One with dd I use this:

    Important, you have to do it FROM A LIVE USB WITH UBUNTU. To backup, creating several image files of up to 2Gbs, enter in the terminal:

    Code:
      sudo dd if=/dev/sda1 | gzip -c | split -b 2000m - /media/HDD40GB/imageaaoXX.gz.
    To restore the multi-file backup (also from FROM A LIVE USB WITH UBUNTU), do the following:

    Code:
        sudo su
        cat /media/HDD40GB/imageaaoXX.gz.* | gzip -dc | dd of=/dev/sda1
    Where:

    HDD40GB is the name of the external disk where I copy the image to. Look for the name of your external disk instead.
    imageaooXX.gz is the name of the images, that will go imageaooXX.gz.aa, imageaooXX.gz,bb and so on

    More info in http://michi-bs.blogspot.com/2008/06/hdd-or-partition-backup-with-dd.html and in http://www.debianhelp.co.uk/ddcommand.htm

    I just recovered the system from one of these backups. And it works perfect. Just give it some time to complete. It takes about 30 mins for me.
     
    hombrelobo, Oct 6, 2008
    #1
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.