I'm looking to clone the hard drive of my Ubuntu server and was looking at the dd command. I am planning to clone it to another hard drive attached via usb.
I was wondering 2 things, first, can it be run while Linux is running or do you have to run it after booting to LiveCD? Second, does the destination drive have to be partitioned beforehand or will dd create partitions as needed?
The drive I am planning to clone has several partitions on it besides the primary Linux one. I've used Ghost on Windows machines and it will create any needed partitions on an unallocated drive so I wondered if dd will do this as well.
Also, if it can be run a running server, does it take up a lot of resources and slow the machine down? Again, with Ghost, I have run it from Windows without booting to a Ghost CD and it doesn't slow anything down at all. So I was just wondering if dd was that way too.