lkml.org 
[lkml]   [1996]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: backing up configuration
On Mon, 28 Oct 1996, Russell Berry wrote:

> In answer to your question, I would suggest something more like:
>
> dd if=/dev/hda of=/net/someremote/host.image bs=16384
>
> that will get absolutely everything on /dev/hda as a single image,
> not as a file. naturally you could then run gzip host.image if
> you choose to.

I suggest that if you want to compress the image, do it like:

dd if=/dev/hda bs=16384 |gzip >/net/someremote/host.image.gz

As you then won't write out the uncompressed image, restore with:

gzip -dc /net/someremote/host.image.gz |dd of=/dev/hda bs=16384

>
> ---russ
>
Bryn
--
PGP key pass phrase forgotten, \ Overload -- core meltdown sequence
again :( and I don't care ;) | initiated.
/ This space is intentionally left
| blank, apart from this text ;-)
\____________________________________


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.207 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site