Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Best way to create back up image?

  1. #1

    Default Best way to create back up image?

    Usually for any OS I use on my PC I've used Clonezilla. However, for some odd reason, whenever I use it to create a back up image of an openSUSE install, it fails when I try to restore the image. I've never had Clonezilla successfully restore an openSUSE backup for me.

    Is there another, trusted way to create a back up image of an openSUSE install that will work when you come to restore it? Many thanks.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Best way to create back up image?

    On 2012-04-25 18:16, Kinzie wrote:
    >
    > Usually for any OS I use on my PC I've used Clonezilla. However, for
    > some odd reason, whenever I use it to create a back up image of an
    > openSUSE install, it fails when I try to restore the image. I've never
    > had Clonezilla successfully restore an openSUSE backup for me.
    >
    > Is there another, trusted way to create a back up image of an openSUSE
    > install that will work when you come to restore it? Many thanks.


    I have never used clonezilla, although I wanted to try. It failed, it gave
    no reason?

    I have use cdrescue, a small linux on cd with some utilities; one of them
    is a text based imager, I think it is named partimage.

    This imager is somewhat clever in that knows the filesystem and skips empty
    sectors, I think. This is the complicated part that may fail. I did
    compressed images of ntfs partitions and they failed to restore; plain, not
    compressed images worked fine. It did warn that ntfs support was experimental.


    There is another method that never fails, though, and that is a straight
    image with "dd". It doesn't do clever things, it copies all bytes, empty
    sectors or not. The result is, of course, bigger, but you might compress it
    later.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Best way to create back up image?

    I used g4l for a long time for full backups with no problems (including
    restore). It is a bit outdated now (but still works) and last time I
    needed a clone copy I just used plain dd commands without problems.

    --
    PC: oS 12.1 x86_64 | Intel Core i7-2600@3.40GHz | 16GB | KDE 4.8.2 |
    GeForce GT 420
    Eee PC 1201n: oS 12.1 x86_64 | Intel Atom 330@1.60GHz | 3GB | KDE 4.8.2
    | nVidia ION
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10 |
    xf86-video-geode

  4. #4
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,450

    Default Re: Best way to create back up image?

    If you have one PC and you ae using openSUSE, do you need to clone it anyway? Unless you have made significant changes to the system settings in /, you onlty need to back up /home, mysql and any files you have changed in /etc. If you do get into an unrecoverable situation, all you need to do is reinstall /. That normally takes less time than restoring a clone backup.

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Best way to create back up image?

    On 2012-04-26 10:26, john hudson wrote:
    >
    > If you have one PC and you ae using openSUSE, do you need to clone it
    > anyway? Unless you have made significant changes to the system settings
    > in /, you onlty need to back up /home, mysql and any files you have
    > changed in /etc. If you do get into an unrecoverable situation, all you
    > need to do is reinstall /. That normally takes less time than restoring
    > a clone backup.


    In my experience, restoring an image is much faster.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  6. #6

    Default Re: Best way to create back up image?

    I use Clonezilla Live CD (clonezilla-live-1.2.12-10-amd64.iso) to backup/restore OS partitions. I've never had any problems restoring an image.

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Best way to create back up image?

    On 2012-04-26 13:26, afshine wrote:
    >
    > I use Clonezilla Live CD ('clonezilla-live-1.2.12-10-amd64.iso'
    > (http://tinyurl.com/85wn7ha)) to backup/restore OS partitions. I've
    > never had any problems restoring an image.


    It doesn't backup grub.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8

    Default Re: Best way to create back up image?

    Quote Originally Posted by robin_listas View Post
    It doesn't backup grub.
    I have at least 5 times restored my openSUSE's / partition with Clonezilla. Every time it was done restoring an image, I just rebooted and was welcomed by openSUSE's Grub Menu.
    May be my setup is different from yours.

    Code:
    ============================= Boot Info Summary: ===============================
    
     => SUSE generic MBR is installed in the MBR of /dev/sdc.
    
    sdc1: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  Grub Legacy
        Boot sector info:   Grub Legacy (v0.97) is installed in the boot sector
                           of sdc1 and looks at sector 13084240 of the same hard
                           drive for the stage2 file.  A stage2 file is at this
                           location on /dev/sdc.  Stage2 looks on partition #1
                           for /boot/grub/menu.lst.
        Operating System:  Welcome to openSUSE 12.1
                           "Asparagus" - Kernel ().
        Boot files:        /boot/grub/menu.lst /etc/fstab
    
    =================== sdc1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
       6.168575287 = 6.623457280    boot/grub/menu.lst                             1
       6.239147186 = 6.699233280    boot/grub/stage2                               1
       8.852539062 = 9.505341440    boot/initrd                                    2
       8.852539062 = 9.505341440    boot/initrd-3.3.3-21-desktop                   2
       8.806911469 = 9.456349184    boot/vmlinuz                                   1
       8.806911469 = 9.456349184    boot/vmlinuz-3.3.3-21-desktop                  1

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Best way to create back up image?

    On 2012-04-26 14:36, afshine wrote:
    >
    > robin_listas;2458532 Wrote:
    >> It doesn't backup grub.

    >
    > I have at least 5 times restored my openSUSE's / partition with
    > Clonezilla. Every time it was done restoring an image, I just rebooted
    > and was welcomed by openSUSE's Grub Menu.
    > May be my setup is different from yours.


    It is documented by clonezilla, they don't backup grub; they reinstall it.


    here


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10

    Default Re: Best way to create back up image?

    Your link lead me to Q 117. There is an answer why it happens. Q117/A is attached.

    "If it fails, e.g. you are using i686 version of Clonezilla live, while the restored GNU/Linux is amd64 (x86-64) OS, it will fail."
    Code:
    117. After restoring, grub2 complains "error: no argument specified". Why?
    
    By default when an image is restored, Clonezilla will try to re-run grub-install from the restored GNU/Linux. If it fails, e.g. you are using i686 version of Clonezilla live, while the restored GNU/Linux is amd64 (x86-64) OS, it will fail. Then Clonezilla will use the grub2 comes with Clonezilla live to run grub-install. The version could be imcompatible. E.g. for older version of grub, the syntax is like:
    search --no-floppy --fs-uuid --set 857d5af9-23cd-4d9b-908b-cc075e566738
    On the other hand, the newer one is:
    search --no-floppy --fs-uuid --set=root 857d5af9-23cd-4d9b-908b-cc075e566738
    To solve this issue, you can:
    
        1. Boot the restored GNU/Linux
        2. Enter the command line
        3. Run the following command as root:
           grub-install /dev/sdx
           (Replace /dev/sdx with your harddrive, normally it's /dev/sda. You have to make sure the correct disk name otherwise you might write the boot loader on the wrong disk, and it might fail to boot.) 
    
    Then you can reboot the restored GNU/Linux again, and this warning message should be gone.
    //NOTE// You can not run "update-grub" or "update-grub2" to replace the command "grub-install", because update-grub or update-grub2 will only update the config file of grub (/boot/grub/grub.cfg or /boot/grub2/grub.cfg). It won't update the boot loader.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •