[Mimedefang] Re: Disk imaging software

Tilman Kastner kastner at devicen.de
Wed Jul 28 13:13:12 EDT 2004


If it's possible for you to take down the machine, you could do
a bare-bone network backup via  dd and netcat:

Boot from knoppix cd
set up network

on the remote machine, enter
nc -l -q 1 -p <some_port_no> > /path/to/backup_file

on the local machine 
(assuming your disk is /dev/sda
dd if=/dev/sda | nc <ip_of_remote> <port_no_as_above>

You might want to put a gzip into the chain as well.
If so, it's also a good idea to mount every partition before and doing a
dd if=/dev/zero of=/mnt/<yourpartition>/zero 
until it's full and removing the file. By that your empty space gets
overwritten by zeroes which is a good thing(tm) for compression.

Replay in reverse order.
As this provides an exact copy of your device (incl. MBR, etc.),
make sure the hardware does not change before replay.

Hth

Tilman
-- 
Tilman Kastner                 DEVICE/N GmbH
kastner at devicen.de             Deisterstrasse 81
PGP key available              30449 Hannover, Germany



More information about the MIMEDefang mailing list