Can dd be used on a live system?

I have an FreebSD 7.1 ftp server setup... I access it via ssh on my laptop in our office.

If i'm in that system through ssh, can i use dd to back the full HD including the partition tables and all?

dd if=/dev/ad0s1 of=/usr/home/yyy/backup

then how do i get that backup to be stored in my laptop? Do i have to log off via ssh and use scp for it?

Other thing.... if i execute dd with someone transacting/downloading with FTP on that server.. Will dd fail?

Thanks
 
I don't see dd failing. What I do see is it potentially copying data that is not in a consistent state, making the copy partially corrupt. If you mount it read-only while you dd, you should be fine.
 
Back
Top