[TriLUG] Linux Backup and Restore to totally wiped partition

David Brain dbrain at gmail.com
Tue Feb 26 18:28:33 EST 2013


I'be used the following for imaging successfully:

dd if=/dev/sda bs=1024k | gzip -c > image.gz

Can save a bunch of space, especially if the source drive isn't full...

David
 On Feb 26, 2013 4:45 PM, "Brian" <lugmail at cheetah.dynip.com> wrote:

> 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
>
> --
> This message was sent to: dbrain at gmail.com <dbrain at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/**listinfo/trilug<http://www.trilug.org/mailman/listinfo/trilug>
> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/**
> options/trilug/dbrain%40gmail.**com<http://www.trilug.org/mailman/options/trilug/dbrain%40gmail.com>
> TriLUG FAQ          : http://www.trilug.org/wiki/**
> Frequently_Asked_Questions<http://www.trilug.org/wiki/Frequently_Asked_Questions>
>



More information about the TriLUG mailing list