Copying a device with dd

dd allows you to make an exact copy of a device. It is ideally suited to back up and restore a complete filesystem. …

To copy or clone a device, as root: "dd if=/dev/sdb of=backup.img" (replacing sdb with your device).

To restore the image to the same or any other device of the same size, as root: "dd if=backup.img of=/dev/sdb" (again, replacing sdb with your device).


About Warren Post

So far: Customer support guy, jungle guide, IT consultant, beach bum, entrepreneur, teacher, diplomat, over-enthusiastic cyclist. Tomorrow: who knows?
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s