I'm running Ubuntu and I'd like to create an image of my OS. Is this possible?

I used CCC on my mac, it was great it even copies everything in a logical order so it technically defrags for you.

link|improve this question

feedback

3 Answers

up vote 0 down vote accepted

CCC is just a fancy front-end gui for rsync. I'm not sure if there is an equivalent for linux, but if you don't mind the command line, you can do what you want there:

rsync -a -x / /media/backupdisk/

Replace /media/backupdisk/ with whatever mount point your backup disk is attached to.

If you want the backup disk to be an exact copy, add the --delete flag:

rsync -a -x --delete / /media/backupdisk/
link|improve this answer
thanks I didn't know he used rsync as the engine for CCC! – GiH Nov 20 '09 at 0:25
Might want to add --exclude="/media/" to that, so you don't try and backup a folder to itself.. – Dentrasi Nov 13 '10 at 14:15
CCC does not only use rsync, it will also use asr or other methods depending on the volume being cloned: afp548.com/netboot/mactips/image.html – churnd Nov 13 '10 at 15:49
feedback

If you want to make an image (byte for byte) you can always use dd.

dd (Unix) - Wikipedia

link|improve this answer
feedback

It's true that CCC is just rsync on the inside, but there is a lot more going on inside. I tried using rsync and it's not easy to make a fully functional and bootable copy every time.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.