Linux Backup / Clone Disk

I want to clone my entire disk to to new disk using Linux.
I just need to write a simple command using dd and specify if (input file / disk) and of (output file).

dd if=/dev/sda of=/dev/sdb
 
To get get the current progress of disk copy / cloning 
I need to know the process id of dd process. 
Using command belows I can get the process id.

ps aux | grep -i dd

To make the progress shown on the console I need to write the following command

kill -SIGUSR1 


Reference :

http://www.thegeekstuff.com/2010/10/dd-command-examples/
http://serverfault.com/questions/4906/using-dd-for-disk-cloning

0 comments:

 
Copyright © peyotest