How can I create an image of my Linux box so I can install that image in case of a crash?

princedakkar69 March 16, 2013
Pinterest Stumbleupon Whatsapp

I have tried several different methods to create an Ubuntu image of my machine, such as the windows imaging in backup and restore. I have tried the dd command I have tried Clonzilla. Clonzilla worked fine, but when I went to do a restore it couldn’t find the image.

All I can find is backups everywhere, I want a tool that will image my Linux box and be able to install that image in case of a crash. Is there any way of doing this with Linux or only backups?

Ads by Google

  1. Gaurav Joshi
    June 7, 2013 at 4:41 pm

    use relinux or remastersys

  2. dragonmouth
    March 18, 2013 at 11:53 pm

    No matter what program/method you use to create the image of your machine, it must be created on a HDD different from the one containing your O/S. In fact both Clonezilla and ReDo Backup explicitly tell you that the SOURCE drive and DESTINATION drive must not be the same. I always create the image of my system on an external drive.

    • princedakkar69
      March 20, 2013 at 12:43 pm

      I wanted to use remastersys and got it to work but it didn't give me a choice of where I wanted to put the image, I do have an external HD and I use that to store backups and images. When I used remastersys it just began doing the image on the same HD as my OS and took up the entire drive (well what was left of it), so I had to delete the image.

  3. justinpot
    March 18, 2013 at 2:10 pm

    Maybe step-by-step directions will help? I wrote these a few months ago.

    http://www.makeuseof.com/tag/how-to-clone-your-hard-drive/

    Best of luck.

  4. Gaurav Joshi
    March 17, 2013 at 8:28 am

    use relinux or remastersys

    • princedakkar69
      March 17, 2013 at 12:34 pm

      I tried to install remastersys on my Ubuntu through the terminal and it said it installed but I can't find it, even when I try a search for it. If I go in the terminal it says it's there but I can't seem to get to it, it's really wierd it's the only program that has done that.

    • princedakkar69
      March 17, 2013 at 2:00 pm

      I couldn't find the remastersys on my system, but I went into the terminal and searched for it and found the GUI. I am using it right now to image my machine. Hopefully this will work I won't know if it does until my system crashes, which will be to late lol. I do have a batch file that automatically backs up my files to I'm not worried about the files, I would just like to install my Ubuntu, if crashed, with all my same settings, user accounts etc. instead of having to redo everything.

  5. Alan Wade
    March 17, 2013 at 7:04 am

    This site boasts 10 different backup tools for the Linux system. Maybe there is one that works for you:
    techrepublic.com/blog/10things/10-outstanding-linux-backup-utilities/895

  6. Chinmay Sarupria
    March 17, 2013 at 3:07 am
  7. Jan Fritsch
    March 17, 2013 at 2:45 am

    Did Clonezilla actually make an image of the hard drive? And where did you store it?
    Personally I usually boot up with Parted Magic and use CloneZilla to create an image of the entire hard drive on a external USB hard drive. The following article basically covers the few steps necessary.
    http://www.techrepublic.com/blog/window-on-windows/how-do-i-clone-a-hard-drive-with-clonezilla/2254

    The restore process is equally simple, except you select the image on the USB drive to be restored on the internal hard disk.

    • princedakkar69
      March 17, 2013 at 12:45 pm

      It said that it did but when I tried to do the restore it said something about some error or missing file. I can't experiment on it now because I have had my Linux running for almost a year and I store all my music, pictures and movies on it and map the drives to my windows machine.This may be a silly question but if I image windows will it also image those folders on Linux since they are mapped to Windows?

    • princedakkar69
      March 17, 2013 at 12:46 pm

      What is Parted Magic, I have never heard of it?

    • Jan Fritsch
      March 17, 2013 at 12:58 pm

      If you don't mind doing backups/imaging "outside" of Linux or want something a bit more GUI driven I suggest looking into RedoBackup or DriveImage XML

      http://redobackup.org/
      http://www.runtime.org/driveimage-xml.htm

    • Jan Fritsch
      March 17, 2013 at 1:00 pm

      Third times the charm ~ I forgot the following link for the Live CD containing Driveimage XML
      http://www.runtime.org/data-recovery-live-cd.htm

  8. Anish P
    March 17, 2013 at 1:45 am

    Perhaps this may be of help - This is meant to emulate Time Machine for the Linux OS. http://lifehacker.com/275399/timevault-time-machine-for-linux

    • Fuad Rony
      June 2, 2013 at 2:27 pm

      id Clonezilla actually make an image of the hard drive? And where did you store it?
      Personally I usually boot up with Parted Magic and use CloneZilla to create an image of the entire hard drive on a external USB hard drive. The following article basically covers the few steps necessary.

Ads by Google