On Tuesday 24 February 2004 08:58 pm, [EMAIL PROTECTED] wrote:
>  I am looking for some directions or a linux app (preferably something that
> is already in Knoppix since I have just gotten my v3.3 burned) that will
> allow me to image/restore an entire harddisk partition to/from a networked
> drive (via SAMBA). 

dd?

i just tested (over NFS, since both boxes are linux, NFS might be a better
choice than samba).  assume that the drive to be backed up (and later
restored to) is /dev/sda on source_pc.  it is to be backed up to (or restored
from) dest_pc.

ssh source_pc
su -l

# in case it's bad to dd from a drive which contains the mount
# for the destination (i don't think it's bad, but i'm paranoid).
# mount the nfs share on some other drive than the drive to be
# ghosted.
mount -t nfs dest_pc:/save_images   /other_drive

# ok. we now want to copy the whole of /dev/sda over the network
# to the remote PC under source_pc_dd_save or some less ridiculous
# filename. 

dd if=/dev/sda of=/other_drive/source_pc_dd_save

and then it starts copying.  but i killed it before it finished since i
don't really want to spend all that time waiting for it to finish :).

if you don't want the whole drive, just run dd multiple times, once
for each source partition.

> I am looking for something that I can use to reformat the workstations 
> here at work easily wherein I just have to boot the workstation from a
> live-cd distro, connect it to the network and then  reblast it with the
> image in the network. GUI-based application would be 
> nice but not required.

and since i didn't complete the write, i didn't test restoring either :).
but from the semantics of dd it looks like it should work.

good luck.  tell us what tool you finally settle on.

tiger

-- 
Gerald Timothy Quimpo  gquimpo*hotmail.com tiger*sni*ph
http://bopolissimus.sni.ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"

    The difficult we do today.  The impossible takes a little longer.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to