[TriLUG] Linux Backup and Restore to totally wiped partition

Brian lugmail at cheetah.dynip.com
Tue Feb 26 16:45:00 EST 2013


On 2/26/2013 4:33 PM, Tarus Balog wrote:
> Hrm, I have an external hard drive that I could use for the images. So I
> would just boot to some linux with dd and then:
>
> dd if=/dev/sda of=/path/to/my/harddrive/sys1-backup
>
> and then to restore
>
> dd if=/path/to/my/harddrive/sys1-backup of=/dev/sda

Indeed!  I'd also suggest messing around with the bs= option; I find a 
block size around 1M to perform reasonably well.

~Brian




More information about the TriLUG mailing list