Tiny Core Base > TCB Q&A Forum

Best way to clone/restore HDD? (like Norton Ghost)

(1/2) > >>

nim108:
I am looking to use TC as a automated recovery type tool. Basically, user would choose to boot into TC, then if a USB is plugged in containing a ghost type image of the drive (it would contain a unique UUID that udev rules would detect and only then would it start imaging), it would restore the entire hard drive. Now my problem is finding a utility like Ghost for Linux that will do the imaging. The best part about Ghost is that 1) it does a file-by-file copy so it's very fast and the resulting compressed image is small and 2) it dynamically resizes the drive so if you are imaging a 10 GB drive onto a 20 GB drive, it will image the drive and then resize it automatically, fixing the partition table if necessary. dd is obviously not an option for this reason, it copies every sector of the drive and it does not have the ability to dynamically resize so if for some reason the destination drive is even 1 byte smaller than the source, it will fail. partimage has similar issues. CloneZilla is the only tool for Linux that I've seen powerful enough to do something like this, but it's obviously it's own distro and not able to be integrated into TC. Since CloneZilla is just a collection of low level tools though, anyone know how it actually clones a hard drive? What would be the best way to do something like this? I've been searching for an answer on this for years and still have not found a solid solution. Til this day, we use an ancient version of Ghost because it images whatever we need flawlessly, but we'd like to get away from proprietary tools and DOS and head towards an open source solution. Thanks.

Rich:
Hi nim108
According to this there are Linux versions of Symantec Ghost:
http://forum.tinycorelinux.net/index.php/topic,12613.msg69577.html#msg69577
This might also be of some interest:
http://redkrieg.com/2007/03/19/ghost-4-linux-complete-guide-to-imaging/

AbNoRMiS:
may will be useful partclone which is in the repo?

nim108:

--- Quote from: Rich on June 18, 2012, 05:41:49 PM ---Hi nim108
According to this there are Linux versions of Symantec Ghost:
http://forum.tinycorelinux.net/index.php/topic,12613.msg69577.html#msg69577
This might also be of some interest:
http://redkrieg.com/2007/03/19/ghost-4-linux-complete-guide-to-imaging/

--- End quote ---
Interesting, but regardless, we want to move away from licensed software to something more open source. G4L is a CD based solution, so I'm not sure how easily it can be integrated into TC. I was wondering if there was anything available natively to Linux which would do the same thing as Ghost.


--- Quote from: AbNoRMiS on June 19, 2012, 02:07:58 AM ---may will be useful partclone which is in the repo?

--- End quote ---
I believe partclone only works on partitions, not the entire hard drive, though it is possible to manually create the partitions with something like fdisk and then image the partitions one by one. I will research this, thanks.

Any other ideas?

AbNoRMiS:

--- Quote from: nim108 on June 19, 2012, 03:48:06 AM ---Interesting, but regardless, we want to move away from licensed software to something more open source. G4L is a CD based solution, so I'm not sure how easily it can be integrated into TC. It also is not maintained anymore. I was wondering if there was anything available natively to Linux which would do the same thing as Ghost.

--- End quote ---
seems to me that clonezilla licensed under gnu gpl 2.0
but i can not find where to get its source for build for tc
except heavyweight sources of debian livecd from sourceforge


--- Quote from: nim108 on June 19, 2012, 03:48:06 AM ---I believe partclone only works on partitions, not the entire hard drive, though it is possible to manually create the partitions with something like fdisk and then image the partitions one by one. I will research this, thanks.

Any other ideas?

--- End quote ---
usually i use gparted for create and resize partitions
but confess that i most often use acronis
because it resizes partitions much faster

Navigation

[0] Message Index

[#] Next page

Go to full version