Is there anything like Carbon Copy Cloner (CCC) for Linux?
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.
Solution 1:
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/
Solution 2:
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.
Solution 3:
If you want to make an image (byte for byte) you can always use dd
.
dd (Unix) - Wikipedia
Solution 4:
Use Clonezilla and make a 100% bootable copy of your drive! It works and can even handle OSX HFS+ volumes, ext4, NTFS etc. Also, it will handle Grub wery well even if the PC is dual boot (e.g. Windows and Linux).