Thread: Cloning a drive
View Single Post
Old 03-27-12, 09:51 AM   #6
Rakeesh's Avatar
Join Date: Jun 2004
Location: Sonoran Desert
Posts: 6,884
Default Re: Cloning a drive

My favorite tool for making backups is dd, it makes an EXACT copy of a drive. It works like this:

dd if=/dev/sdX of=/path/to/image.img bs=4M

Then restore it with:

dd if=/path/to/image.img of=/dev/sdX bs=4M

If you want to make compressed backups, do something like:

dd if=/dev/sdX bs=4M | gzip -9 > backup.img.gz

It's so nice how linux command line tools mesh together.
Want to listen to audio without your computer going to sleep? Try this.

Core i7 2600k 4.4Ghz 1.385v | Corsair H60 | 8GB Corsair Vengeance 1600 8-8-8-24 | MSI P67A-G45 | OCZ Vertex 3 | Sapphire 7850 OC to Max settings

Rakeesh is offline   Reply With Quote