1 |
On Fri, May 13, 2011 at 18:35, Mick <michaelkintzios@×××××.com> wrote: |
2 |
> On Friday 13 May 2011 20:11:01 James Wall wrote: |
3 |
>> |
4 |
>> Another tool which will work well is dd. |
5 |
>> as an example to back up my laptop before experimenting with new |
6 |
>> distros, I do dd if=/dev/sda of=/mnt/backup/jalopy.img bs=2M to back |
7 |
>> up the drive for a bare metal restore of the 40 GB hard drive. |
8 |
>> |
9 |
> |
10 |
> Is the bs=2M important? Should one use the block size of the drive? |
11 |
Speed improvement. |
12 |
If you're doing a backup of a rather large disk, I duggest piping to |
13 |
bzip2 or gzip. Unless the free space is random padding, even the |
14 |
slightest |
15 |
compression will be more efficient, space-wise, than the raw file. The |
16 |
big problem is bzip2 -9, because you only get ~2.5 MB/s compression |
17 |
speed. |